Skip to content

Instantly share code, notes, and snippets.

View sway's full-sized avatar

Jan Ustohal sway

View GitHub Profile
sway / commits-by-hour
Created July 11, 2012 20:25 — forked from bobuss/commits-by-hour
Git commits funstats
View commits-by-hour
#!/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