Created
July 2, 2012 14:47
-
-
Save bobuss/3033605 to your computer and use it in GitHub Desktop.
Git commits funstats
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
#!/usr/bin/env bash | |
for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23; do echo $( echo -e "$i\t"; git shortlog -n --format='%ad %s' | grep " $i:" | wc -l); done |
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
#!/usr/bin/env bash | |
for i in Mon Tue Wed Thu Fri Sat Sun; do echo $( echo -e "$i\t"; git shortlog -n --format='%ad %s'| grep "$i " | wc -l); done |
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
#!/usr/bin/env bash | |
git shortlog -ns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A little more elegant solution for the first one: https://gist.github.com/3093072