git svn workflow
Published 2018-05-07, last edit 2019-02-19
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