Skip to content

Instantly share code, notes, and snippets.

@sway
Forked from bobuss/commits-by-hour
Created July 11, 2012 20:25
Show Gist options
  • Save sway/3093072 to your computer and use it in GitHub Desktop.
Save sway/3093072 to your computer and use it in GitHub Desktop.
Git commits funstats
#!/usr/bin/env bash
for i in $(seq -f %02g 0 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
@bobuss
Copy link

bobuss commented Jul 12, 2012

nice sequence :)

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