Changes

Jump to navigation Jump to search

Git svn

154 bytes added, 10:56, 23 July 2013
You need an [[Authors#authors.txt | authors.txt]] file, to correctly convert the metadata.
<source lang="bash">
relax=$HOME\backup\relax
relax_disp=${relax}\relax_disp
git svn clone http://svn.gna.org/svn/relax/branches/relax_disp --no-metadata -A authors.txt ${relax_disp}
cp ${relax}/authors.txt ${relax_disp}
</source>
== Setup remotes to github ==
=== For branch trunk ===
<source lang="bash">
cd $relax_trunk
# 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
</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>
Then send svn branch master of to github
<source lang="bash">
git push -u origin master
</source>
=== For branch relax_disp ===
<source lang="bash">
cd $relax_disp
# 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_disp.git
</source>
Now go to github.com at https://github.com/organizations/nmr-relax click '''Repositories -> New'''.<br>
Then send svn branch master of to github
<source lang="bash">
git push -u origin master
</source>
== git operations ==

Navigation menu