4 ms·
What I like most about magit is browsing the history of a file via its git-blame mode. It shows you the file split into sections indicating what commit was resp
by jolmg 8y ago
What I like most about magit is browsing the history of a file via its git-blame mode. It shows you the file split into sections indicating what commit was responsible for that section's lines. Doing `C-x g b` on one of those sections visits the file at that commit and does git blame again without needing to `checkout` that commit. I wish I knew how to be as effective doing that with `git blame` on the shell. Is there a way to provide the commit to `git blame` without needing to `checkout`?
- ubercow13 8y agoYou can specify the commit to look back from on the command line for blame. See [1] > Optionally, start annotating from the given revision. [1] https://git-scm.com/docs/git-blame https://git-scm.com/docs/git-blame