Open main menu

Changes

Git svn

15 bytes removed, 22:49, 21 July 2013
no edit summary
= Background =
== Windows ==
[http://www.tfnico.com/presentations/git-and-subversion Based on these posts] and on [http://trac.parrot.org/parrot/wiki/git-svn-tutorial this recommended post], and [http://john.albin.net/git/convert-subversion-to-git also this post.]
You should install [[msysgit]]on windows, to do the checkout. 
md C:\relax
cd C:\relax
You also need an [[Authors#authors.txt | authors.txt]] file, to correctly convert the metadata.
 
git svn clone http://svn.gna.org/svn/relax/trunk --no-metadata -A authors.txt
git svn clone -r 20000:HEAD http://svn.gna.org/svn/relax/trunk --no-metadata -A authors.txt
git branch -a
=== Setup remotes to github ======= For branch trunk ====
cd C:\relax\trunk
git remote add origin https://github.com/nmr-relax/trunk.git
git remote add hub https://GIT_USER_NAME@github.com/GIT_USER_NAME/trunk.git
==== For branch relax_disp ====
cd C:\relax\relax_disp
git remote add origin https://github.com/nmr-relax/relax_disp.git
git remote add hub https://GIT_USER_NAME@github.com/GIT_USER_NAME/relax_disp.git
=== git operations ===
Now fetch changes from remote hub
git fetch origin
git push hub master
== See also ==
[[Category:git]]
Trusted, Bureaucrats
1,382

edits