Created
November 11, 2013 14:52
-
-
Save thenaterhood/7414298 to your computer and use it in GitHub Desktop.
A bash one-liner that displays the percentage of commits for things related to semicolons, typos, spelling, forgotten things, and debug statements in a git repo.
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
echo " $(echo "scale=6; 100*`git log --pretty=oneline --abbrev-commit | grep 'typo\|semicolon\|spelling\|forgotten\|debug' | wc -l`/`git log --pretty=oneline --abbrev-commit | wc -l`" | bc ) %" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment