Created
January 30, 2012 22:37
-
-
Save Grayson/1707245 to your computer and use it in GitHub Desktop.
Quick calculation of the number of git commands in your bash history.
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
# Just copy and paste the following into your shell prompt. | |
echo "scale=4;" `cat ~/.bash_history | grep -e "^ *git" | wc -l` "/" `cat ~/.bash_history | wc -l` " * 100" | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment