Skip to content

Instantly share code, notes, and snippets.

@marcaube
Forked from imkevinxu/.gitconfig
Created May 1, 2017 15:43
Show Gist options
  • Save marcaube/201bd109983d52d113d97bd7abc0dae2 to your computer and use it in GitHub Desktop.
Save marcaube/201bd109983d52d113d97bd7abc0dae2 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