07 May 2018

git svn workflow

Git provides an svn-wrapper, allowing you to use git tools and keep your decentralized workflow even when you aren't.

The following commands are effected:

git git svn
git pull git svn fetch git svn merge
git push git svn dcommit
git clone git svn clone

If you are a magit user, you can install magit-svn. To enable magit-svn globally (magit will still work find with git repos):

(add-hook 'magit-mode-hook 'magit-svn-mode)

To enable magit-svn on a per-repo basis:

cd /path/to/repository git config --add
magit.extension svn
Other posts