Last active
March 30, 2020 14:39
-
-
Save crittermike/ad6474f6454f21d1f46449245679f5bb to your computer and use it in GitHub Desktop.
Search all git commit diffs for a specific string - both regex and non-regex versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rev-list --all | xargs git grep '<YOUR REGEX>' # regex | |
git rev-list --all | xargs git grep -F '<YOUR STRING>' # non-regex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment