How to get line number with git diff may it be of different HEAD comparison


I am trying to figure out how to print line number of the code in the shell along with the unified or side by side diff, I wanted to be able to compare HEAD different commit !

Any pointers of would be of great help.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.