Last Updated: February 25, 2016
·
1.055K
· danielmurphy

Uploaded lolcommits to Slack

First install slackup

Then add this to your post-commit hook:
slackup "#lolcommits" "$(ls ~/.lolcommits/${PWD##*/}/$(git rev-parse HEAD | cut -c1-11).*)" &

Gotcha: You can't use the --fork option or the file won't exist yet when slackup runs.