Colorized, interactive "git blame" in Emacs: vc-annotate
A few months ago, I learned that
vc-annotate
displays a nicely colorized
git blame in Emacs.
Today I learned that it is also interactive. I can cycle through revisions
using p and n, open the file at a specified revision
with f, view the log with l, and show a diff
with d or changeset diff with D. (Unfortunately,
the diff is ugly and not in color.)
vc-annotate is included with Emacs. To use, open a version controlled file, and type C-x v g or
M-x vc-annotate
I am using Emacs 23.1 on Ubuntu Maverick
Related posts
- My Emacs Python environment — posted 2010-05-10
- Emacs espresso-mode for jQuery — posted 2010-03-10
- Notes on C++ development with Emacs on Ubuntu Linux — posted 2009-07-08
- Creating remote server nicknames with .ssh/config — posted 2008-11-20
- Emacs notes — posted 2008-11-03
4
Comments
—
Comments feed for this post
#2 Huseyin Yilmaz commented on 2011-05-29:
I find version control support of emacs hard to use. So, I prefer command line interface all the time. But I really could use that one. Specially browsing the history with p and n is awesome.
#3 calimocho commented on 2011-09-08:
This makes me fall in love with emacs all over again.
Great tip!
#4 adam commented on 2011-11-08:
@Huseyin
If you use git then try magit. Magit is by far my favorite thing in emacs (which there are alot of things to like).
Magit changed the way I develop.
Post a comment
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(6)
-
aws
(10)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(13)
-
conkeror
(2)
-
core
(2)
-
cygwin
(17)
-
datastructures
(14)
-
datetime
(4)
-
decorators
(4)
-
django
(40)
-
emacs
(22)
-
files_directories
(12)
-
git
(5)
-
hardware
(5)
-
install_setup
(8)
-
javascript
(3)
-
keyboard
(9)
-
matplotlib
(6)
-
mercurial
(4)
-
nginx
(2)
-
persistence
(6)
-
preferences
(7)
-
processes
(4)
-
pyqt
(18)
-
python
(145)
-
ratpoison
(3)
-
regexes
(6)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(14)
-
ssh
(10)
-
subversion
(6)
-
twisted
(7)
-
ubuntu
(65)
-
urxvt
(5)
-
vxworks
(25)
-
webdev
(6)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Marty Alchin
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan
#1 Harsh commented on 2011-05-29:
I gotta start using Emacs. This is nice!