[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 need an [[msysgitAuthors#authors.txt | authors.txt]] on windowsfile, to do correctly convert the commandsmetadata.<source lang="bash"> bash ; md C:\WinPython27\relax=$HOME/backup/relax ; cd C:\WinPython27\relax_trunk=${relax}/relax_trunk ; relax_disp=${relax}/relax_disp ; GIT_USER_NAME="GIT_USER_NAME" mkdir -p ${relax_trunk} ${relax_disp} ;
You 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${relax_trunk} ; cp authors.txt ${relax_trunk} ; cat ${relax_trunk}/.git/config cp ${relax_trunk}/.git/config ${relax_trunk}/.git/config_bck copy awk '{gsub(a,b);print}' a=".*authorsfile =.*" b=" authorsfile = ${relax_trunk}/authors.txt trunk" ${relax_trunk}/.git/config_bck > ${relax_trunk}/.git/config cat ${relax_trunk}/.git/config
git svn clone http://svn.gna.org/svn/relax/branches/relax_disp --no-metadata -A authors.txt${relax_disp} ; copy cp authors.txt ${relax_disp} ; #Buildcat ${relax_disp}/.git/config cd trunkcp ${relax_disp}/.git/config ${relax_disp}/.git/config_bck scons cd awk '{gsub(a,b);print}' a=".*authorsfile =.*" b=" authorsfile = ${relax_disp}/authors.txt" ${relax_disp}/.git/config_bck > ${relax_disp}/.git/config cd cat ${relax_disp}/.git/config scons</source>
# If you are a member of the organization, with writing permissions, then do:
git remote add origin https://${GIT_USER_NAME}@github.com/nmr-relax/relax_trunk.git # See the info git remote -v git remote show origin</source>
Now go to github.com at https://github.com/organizations/nmr-relax click '''Repositories -> New'''.<br>
Call it '''relax_trunk'''. We want to preserve history , so do not '''Initialize this repository with a README''' or anything like, README or .gitignore. <br>