Searching History: git grep, git log -S/-G/-L, blame -w -C, ignoreRevsFile and "When and Why Did This Line Change?"
Blame's first answer is not enough to find who changed a line, when and why: git log -S finds the commit where a text appeared, -G every change to those lines, -L the history of a single method. We trace Bookstore's institutional discount bug with git grep, the pickaxe, blame -w -C and .git-blame-ignore-revs on Git 2.56.
15 Nov 2026
·
11 min
·
8