Last Updated: February 25, 2016
·
1.08K
· kablamo

git-spark plots your commit history

I recently rediscovered spark, Zach Holman's cool little sparklines graphing tool for the command line. I used a little Perl and mashed it up with 'git log' and came up with git-spark which works like this:

⚡ git spark --days 14 --scale 23 Stegosaurus
Commits by Stegosaurus over the last 14 days
total: 95   avg: 7   max: 23
10 15 6 23 5 0 0 1 15 0 17 3 0 0 
▄▅▂█▂▁▁▁▅▁▆▁▁▁
⚡ git spark --days 14 --scale 23 Triceratops
Commits by Triceratops over the last 14 days
total: 90   avg: 7   max: 22
1 12 3 11 3 0 0 6 16 3 13 22 0 0 
▁▄▁▄▁▁▁▂▅▁▄▇▁▁

For more details: