Skip to content

Instantly share code, notes, and snippets.

@smgt
Created November 24, 2011 10:35
Show Gist options
  • Save smgt/1391060 to your computer and use it in GitHub Desktop.
Save smgt/1391060 to your computer and use it in GitHub Desktop.
Visualize your commits the last 30 days
#!/bin/sh
for day in $(seq 30 -1 0); do
git log --author="John Doe" --before="${day} days" --after="$[${day}+1] days" --format=oneline |
wc -l
done | spark | lolcat -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment