Someone showed me how to do this with "ruby mine" but I don't use ruby mine so hoping emacs / magit can do this.

A file in a git repository is opened up in emacs. Point is at line 23, and you want to quickly find out some "extra info" about this line, such as, who authored this line of code, and when was it last touched upon by someone.


The activity you are describing is commonly called "blaming". Magit's manual contains a section about blaming.

The easiest way to show such information is to type C-c M-g b in a file-visiting buffer, but there are alternative approaches as described in the manual.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.