Skip to content

Instantly share code, notes, and snippets.

@zofrus
Forked from imkevinxu/.gitconfig
Created March 16, 2018 20:22
Show Gist options
  • Save zofrus/9a0dc6abaa29e8e905b40e9acfdb6488 to your computer and use it in GitHub Desktop.
Save zofrus/9a0dc6abaa29e8e905b40e9acfdb6488 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