Skip to content

Instantly share code, notes, and snippets.

@imkevinxu
Created November 5, 2012 09:42
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save imkevinxu/4016346 to your computer and use it in GitHub Desktop.
Save imkevinxu/4016346 to your computer and use it in GitHub Desktop.
`git random` alias that will commit a random commit message from http://whatthecommit.com/
[alias]
random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\"; git pull --rebase; git push"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment