http://snippets.bentasker.i2p/page-2008181458-Retrieve-Git-history-for-a-specific-line-in-a-file-Git.html
Published: 2020-08-18 15:00:34 +0000 Categories: Git , Language Git Description With git blame you can view the last commit which changed any given line, but what if you want to see the history/activity of a specific line - why was it added, who changed it and when? Git 1.8.4 introduced the ability to do this with git log , you just need to know the (current) line number Snippet git log -L $lineno,$endlineno:$file Usage Example...