diffcommitmagit

MAGIT: How to quickly see diff (changes) between current buffer/file and last commit of that same buffer/file?


I have checked for similar questions but I couldn't find an updated one on MAGIT especifically.

My goal is to quickly visualize the diffs between the current file I am working on (just the file, not the whole folder/files in git) and the last commit of the same file, just to see the recent additions/deletions. What is the quickest way to do this? Thank you!


Solution

  • C-c M-g will pop up a menu just for that fie and you can hit d there to get a diff. Thanks @Dave F