Created
May 4, 2012 20:54
-
-
Save mtigas/2597650 to your computer and use it in GitHub Desktop.
"git log grepping" for the number of commits that contain certain words.
This file contains 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 log --grep="fuck" --format=oneline -i | wc -l | |
8 | |
$ git log --grep="shit" --format=oneline -i | wc -l | |
3 | |
$ git log --grep="derp" --format=oneline -i | wc -l | |
24 | |
$ git log --grep=" ie " --format=oneline -i | wc -l | |
44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment