Enable lolcommits for all repos!
I was saddened by the horrible lack of lolcommit photos, due to my own laziness caused by not wanting to go into all of my git repos and run the lolcommit --enable
command.
So I made bash do it!:
$ find ./ -type d -name '.git' | xargs dirname | xargs -I% /bin/bash -c 'cd % && lolcommits --enable'
Tweak it however you like your lolcommits to work, and it will recursively find your git repos, and enable lolcommits on 'em!
Written by George Marchin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#