From 56fd7cc055d5ab3a39f1564971f6614ea64a80f1 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 7 May 2013 21:27:34 -0400 Subject: [PATCH] Add bash script that adds all changes and commits them with a random message provided by whatthecommit.com --- bin/whatthecommit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/whatthecommit diff --git a/bin/whatthecommit b/bin/whatthecommit new file mode 100755 index 0000000..30a111d --- /dev/null +++ b/bin/whatthecommit @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +git add . +curl -s whatthecommit.com | sed 's/<[^>]\+>//g' | sed '1,39d' | head -1 | xargs -0 git commit -m