~/til / commit ce94e8c

git log -S finds the commit that added or removed a string

git log -S "some_string" lists the commits where the number of occurrences of that string changed, which means where it was added or removed. Add -p to see the diffs. It’s the fastest way I know to answer “when did this setting appear, and who added it?”, and the git docs call it the pickaxe, which is a much better name than the flag.