loading...

Git log a range of lines of a file

david_j_eddy profile image David J Eddy ・1 min read

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

Discussion

pic
Editor guide
Collapse
hemanth profile image
hemanth.hm

You might like -> git.io/git-tips

Collapse
david_j_eddy profile image
David J Eddy Author

Thank you @hemanth .hm ! Bookmarked and favorited!