Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git commits funstats
#!/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
#!/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
#!/usr/bin/env bash
git shortlog -ns
@sway
Copy link

sway commented Jul 11, 2012

A little more elegant solution for the first one: https://gist.github.com/3093072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment