3 points · by seccode · 2y ago · 8 comments
I created a command line utility called Git Searcher that can find in which commit any line of code was added; it can also find where a line of code was removed. I have found this very helpful for determining where code originated from and for debugging. I hope you find this useful!
Many thanks, Sam
https://git-scm.com/docs/git-log#Documentation/git-log.txt--...
My only nitpick with this is that it seems wrong to `git fetch` every time you want to search, but I think I understand why you did it.