Git-svn

From Vague Hope Wiki
Revision as of 05:15, 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

OR

git svn rebase

Commit changes:

git status
git add path/to/file
git commit
git svn rebase
git svn dcommit

Useful git cmds

Check git FS is sane.

git fsck

References