systems:git
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
systems:git [2012/09/20 23:29] – created dsp | systems:git [2017/09/22 13:28] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Creating a new repository ===== | ===== Creating a new repository ===== | ||
- You need access to **git.php.net: | - You need access to **git.php.net: | ||
- | - Add the repository in // | + | - Add the repository |
+ | - OR Add the repository itself to // | ||
- Ensure RW+ is set to //@all// | - Ensure RW+ is set to //@all// | ||
- Ensure R is set to //daemon gitweb// | - Ensure R is set to //daemon gitweb// | ||
- Ensure // | - Ensure // | ||
- | - **Do not give access to any other user** | + | |
+ | | ||
+ | - Create the repo on github. Use dash instead of slashes e.g. // | ||
- Import the repository using svn2git. | - Import the repository using svn2git. | ||
- | - An author | + | - git init reponame |
+ | - cd reponame | ||
+ | - svn2git %%--verbose%% %%--authors%% / | ||
+ | - The authors.map is in the gitolite-admin.git repo. | ||
- Push it to the newly created repository. | - Push it to the newly created repository. | ||
+ | - git push %%--all%% https:// | ||
+ | - git push %%--tags%% https:// | ||
- Make sure all branches are pushed | - Make sure all branches are pushed | ||
- Add the appropriate // | - Add the appropriate // | ||
- Do that **AFTER** you pushed the initial repository or people will hate you. | - Do that **AFTER** you pushed the initial repository or people will hate you. | ||
- Rename < | - Rename < | ||
+ | - A GitHub repository should be created by an " | ||
karma & co is going to be installed automatically. If you have problem call dsp@php.net. | karma & co is going to be installed automatically. If you have problem call dsp@php.net. |
systems/git.txt · Last modified: 2021/04/06 08:06 by sergey