Difference between revisions of "Git-svn"

From Vague Hope Wiki
Jump to: navigation, search
Line 7: Line 7:
 
git svn fetch -r HEAD
 
git svn fetch -r HEAD
 
git checkout -b nameofbranch
 
git checkout -b nameofbranch
 +
</pre>
 +
 +
== Useful git cmds ==
 +
Check git FS is sane.
 +
<pre>
 +
git fsck
 
</pre>
 
</pre>

Revision as of 04:53, 3 October 2010

Basic usage of git-svn

mkdir prjname
cd prjname
git svn init https://example.com/svn/prjname/trunk
git svn fetch -r HEAD
git checkout -b nameofbranch

Useful git cmds

Check git FS is sane.

git fsck