User Tools

Site Tools


coding:version_control:git-svn

This is an old revision of the document!


GIT-SVN Crib Sheet

GIT can interact with a SubVersion repository. This is my “Quick-Reference” page for doing just that.

Interacting with the SVN central repository

SVN GIT
svn up git svn rebase
svn commit git svn dcommit
svn log git svn log
svn blame git svn blame
svn info git svn info
svn checkout git svn clone
svn proplist git svn proplist
svn propget git svn propget

Interacting with the local GIT archive

SVN GIT Notes
svn up git rebase Only applicable when merging to/from other local branches
svn commit git commit
svn log –limit={N} git log -n{N}
svn blame git blame
svn info - N/A for local GIT
svn checkout git clone

Interacting with a remote GIT archive

SVN GIT Notes
svn up git pull {URL} Must provide URL. Can create URL aliases, see “REMOTES” in man git-pull
svn commit git commit
svn log –limit={N} - Don't know yet. :-|
svn blame git blame
svn info git remote show origin Assuming origin is your tracking branch
svn checkout git clone
coding/version_control/git-svn.1228055925.txt.gz · Last modified: 2009/08/25 13:27 (external edit)