Interacting with git from within emacs is a pleasure, thanks to the official git-mode and Christian Neukirchen’s fantastic gitsum mode. Here are some convenient bindings for running git-svn from emacs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
With the above code in your .emacs file, you can hit M-x, and type
git-svn. You’ll then be prompted for a git directory (just as for
git-status), and you’ll get to choose between rebase, dcommit and
log. Any filenames in the command output will be colorised and
hyperlinked.
At some later point I’d like to turn this into a full-fledged git-svn mode, and hook it into git-status-mode, as Christian has done with gitsum.
Watch this space!