Changes

Jump to navigation Jump to search

Git branch creation

370 bytes added, 17:42, 18 May 2014
<source lang="bash">
bashRUSER=xxxBRANCH=disp_speed svn cp svn+ssh://xxxxx$RUSER@svn.gna.org/svn/relax/trunk svn+ssh://xxxxx$RUSER@svn.gna.org/svn/relax/branches/molmol_macros$BRANCH
</source>
=== Check out the branch ===
<source lang="bash">
# Catch which revision initiated the branch.
SVNLOG=`svn log --stop-on-copy svn+ssh://$RUSER@svn.gna.org/svn/relax/branches/$BRANCH`
REV=`echo $SVNLOG | cut -d" " -f2 | cut -d"r" -f2`; echo $REV
git svn clone -r $REV svn+ssh://$RUSER@svn.gna.org/svn/relax/branches/$BRANCH $BRANCH</source>
== See also ==
[[Category:git]]

Navigation menu