Re:A better git log
by snissn on Tuesday June 19, 2012 @02:41AM
(#4130542)
tig is cool too. It's an ncurses based interface for exploring git history. apt-get install tig; and then run tig; in any directory that's a git repo
[ Parent
| on HN ]
Re:A better git log
by bostonvaulter2 on Tuesday June 19, 2012 @05:37AM
(#4130950)
+1 for tig. tig blame is also excellent, you can easily drill down to see who changed a line. Plus tig is a great replacement for git log since it launches in around 0.25 seconds compared to 1+ seconds for gitk and other graphical viewers.
M-x vc-annotate does a nice 'blame', along with color coding to show the age of changes.
> M-x vc-annotate
Could you explain this further? I think I'm being thick.
Sorry, should have added "In Emacs ...".
You don't even need magit to get some nice git interaction.
Came here to suggest tig; one nice feature about it is that if you're annotating a file in the "blob" view (IIRC), the annotation information streams in as tig walks the commit tree backwards. This can be nice in a repository with thousands of commits.
Re:A better git log
by jeybalachandran on Tuesday June 19, 2012 @02:57AM
(#4130582)
+1 for tig, you can also brew install tig