Git log a range of lines of a file

David J Eddy - Oct 30 '17 - - Dev Community

Found this handy command today, it is a newer usage of 'git blame' with the addition of -L start,end:file/path. Super handy when tracing back the changes to a specific set line group.

git log -L 50,75:./some/path/file.ext

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player