systems:git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
systems:git [2012/09/22 17:59] – dsp | systems:git [2021/04/06 08:06] (current) – rename master to main sergey | ||
---|---|---|---|
Line 16: | Line 16: | ||
- Create the repo on github. Use dash instead of slashes e.g. // | - 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. | ||
- | - I use git push --all https:// | + | - git push %%--all%% https:// |
- | - I use git push --tags 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.1348336765.txt.gz · Last modified: 2017/09/22 13:28 (external edit)