logoalt Hacker News

heresie-dabordtoday at 3:07 PM1 replyview on HN

For this command in particular, one can add a cheap bar chart with awk:

git log --format='%ad' --date=format:'%Y-%m' | sort | uniq -c | awk '{printf $2" "; for (i=1;i<=$1;i++){printf "-";} print ""; }'


Replies

zikani_03today at 5:54 PM

This is a neat trick for a quick visual presentation, thanks!