systems:git
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | systems:git [2013/05/13 08:25] – Fix URL johannes | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Git on y3.php.net ====== | ||
+ | * The main git user is called //git// | ||
+ | * His home directory is in /git | ||
+ | * We use gitolite | ||
+ | * Repos are stored in / | ||
+ | ===== Creating a new repository ===== | ||
+ | - You need access to **git.php.net: | ||
+ | - Add the repository to the long long list of repos in // | ||
+ | - OR Add the repository itself to // | ||
+ | - Ensure RW+ is set to //@all// | ||
+ | - Ensure R is set to //daemon gitweb// | ||
+ | - Ensure // | ||
+ | - Add a description at the end of the file | ||
+ | - **Do not give access to any other user except daemon and gitweb** | ||
+ | - Create the repo on github. Use dash instead of slashes e.g. // | ||
+ | - Import the repository using svn2git. | ||
+ | - 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. | ||
+ | - git push --all https:// | ||
+ | - git push --tags https:// | ||
+ | - Make sure all branches are pushed | ||
+ | - Add the appropriate // | ||
+ | - Do that **AFTER** you pushed the initial repository or people will hate you. | ||
+ | - 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. |
systems/git.txt · Last modified: 2021/04/06 08:06 by sergey