A mysterious feature flag `EXPERIMENTAL_FOO` appears in the codebase. No one remembers adding it. Find when and why.
`git log -S '<string>'` (pickaxe) finds commits that add/remove that exact text.
Medium · 2 steps · +500 XP
This scenario walks through 2 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git log -S "EXPERIMENTAL_FOO" --onelinegit show pk00002-S for literal strings, -G for regex. Pickaxe is forensic Git.