> Search for a string in all revisions of entire git history
The example they show can be shortened by using xargs:
git rev-list --all | xargs -n1 git --no-pager grep -F "search string"
And here it is as an alias that you can add to your .gitconfig: grepall = "!f() { git rev-list --all | xargs -n1 git --no-pager grep -F \"$1\"; }; f"