Hacker News new | ask | show | jobs
by harryh 4930 days ago
git log --author harryh --format="%ci" | cut -f1-2 -d- | uniq -c | tail -r

(then I added in the 0 months manually)

Learned this just now via twitter btw: https://twitter.com/harryh/status/279010454376960000

1 comments

Also, if your version of tail doesn't support the -r option, you can reverse the order of the lines using the tac command.
... and if you didn't get that "tac" is a command to reverse some text, then you need to realize that it's "cat" backwards.

I promise, if it weren't so annoyingly hard to implement, Linux would have command called nwodtuhs to turn the machine on. Those crazy geeks! :D

My favorite backwards command is the 'sl' command. If you have a Debian/Ubuntu command line handy, sudo apt-get install sl