4 ms·
If you're using Emacs and git, you might want to look into magit, which allows you to touch-type through common git operations. If you commit a lot, this will s
by ekidd 16y ago
If you're using Emacs and git, you might want to look into magit, which allows you to touch-type through common git operations. If you commit a lot, this will speed you up significantly.
http://philjackson.github.com/magit/ http://philjackson.github.com/magit/
I use custom Elisp to combine magit, git-blame, and other commands into a unified git environment:
https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee762f41b3da99f1d9/git-tools.el https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee76...
https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee762f41b3da99f1d9/dotemacs#L162 https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee76...
https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee762f41b3da99f1d9/dotemacs#L362 https://github.com/emk/elisp/blob/5db6db4e7d96a3ef1c0a5fee76...
It's especially handy to be able to pull up git-blame information for the current buffer with just a few keystrokes. This turns your git commit messages into a layer of hidden code comments.
- swah 16y agoBut vc works really well too, when committing single file changes.
- davnola 16y agoI love Magit, but don't miss git blame: vc-annotate works really well. P and N navigate the git history of the buffer.
- technomancy 16y agoYeah, magit isn't meant to replace vc; it just supplements it for the operations for which vc is awful. I've got to say though; seeing that article explain how Emacs helped him use RCS and how it also has support for CVS and SVN really does _not_ help the "Emacs is from the 80s" stereotype. Especially ironic since magit is the best git UI I've seen anywhere.
- jedbrown 16y agoI think Egg (Emacs Got Git) is really slick: https://github.com/byplayer/egg https://github.com/byplayer/egg