Skip to content

Instantly share code, notes, and snippets.

@RoySegall
Forked from asafmaor/What the commit
Created November 27, 2015 11:21
Show Gist options
  • Save RoySegall/ae16fb386e7aec40180b to your computer and use it in GitHub Desktop.
Save RoySegall/ae16fb386e7aec40180b to your computer and use it in GitHub Desktop.
alias whatthecommit='text=`curl -s http://whatthecommit.com/ |grep "<body>" -A 2|grep "<p>"`; text=${text:3};git commit -am "$text"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment