Git-svn

From Vague Hope Wiki
Revision as of 05:08, 3 October 2010 by Haku (Talk | contribs)

Jump to: navigation, search

Basic usage of git-svn

Check out:

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

Show status:

git svn stat

Update:

git svn fetch

Commit changes:

git status
git add path/to/file
git commit

Useful git cmds

Check git FS is sane.

git fsck