Helpful #git tip of the day 📢 🤓
If you want to find a particular string (via regex) over all of your commits (be it added, moved or deleted) you can pass the -G option to `git log`.
Example:
git log -G"[Tt]he [Nn]eedle"
Go with -i for case-insensitive match (thank you @nafmo for pointing it out)
⚠️ Warning: There is a similar option with `git log -S --pickaxe-regex`, but it _won't_ show _moved_ lines, only added/deleted lines!
Docs:
https://git-scm.com/docs/git-log#Documentation/git-log.txt--Gregex