Ask HN: Best emacs / git integration?
The git wiki lists no less than 6 different ways to integrate git with emacs: http://www.emacswiki.org/emacs/Git . Fortunately, I haven't picked one yet so I hope to benefit from your collective experience.
Here's the current list:
* Magit * Egg * egit * Gitsum * git-emacs * GitDwim
Which is better maintained, easier to use, feature complete, makes common things easy, etc.?
Which plugin do you use for git integration for emacs?
18 comments
[ 3.3 ms ] story [ 42.9 ms ] threadIt has good documentation, I can only recommend it.
Sadly, I can't compare it to the others you listed, as Magit was the first one I tried, and never felt any need to try another.
vc-annotate is a great interface for git-blame (Magit doesn't have this). vc-annotate-next/prev-revision are seriously handy.
Magit's interface for interactive rebase (bound to E in magit-status window - this is not in the latest docs) is not so handy. I tend to drop down into shell.
Make sure you have git core editor set to emacsclient -c of course.
Magit user here. I love it for its ability to let me do line-level control over what I place in the index. I use the prompt for deep surgery but for general coding/logging/commit-bundling, I haven't found anything better.
The documentation for it is great. I wanted something a little more breezy for quick task-centric scanning and made this...
http://daemianmack.com/2009/09/24/magit-cheatsheet/#
Maybe it'll be useful to you.
Do any of these do decent integration with git-svn?
Recent Emacs have git support in VC; I tend to just use that since I tend to do anything other than committing (rebasing, switching branches, merging, pushing, etc.) in a terminal.
gitsum is really only good for committing, of course. When I want to do other Git operations I most commonly just go to the command line. If I have to do them from inside Emacs I've found Magit to be usable, DVC as well (though I haven't needed it in my latest Emacs install; I only have Magit currently).
Here is a link discussing about git support in Emacs that I found useful:
http://alexott.net/en/writings/emacs-vcs/EmacsGit.html
(Within each emacs instance that I have open, i have at least one shell window open, if not two.)