Skip to content

Instantly share code, notes, and snippets.

@metrofx
Last active August 1, 2017 04:06
Show Gist options
  • Save metrofx/04496bb9a64e02b5c3de07e9c153bf29 to your computer and use it in GitHub Desktop.
Save metrofx/04496bb9a64e02b5c3de07e9c153bf29 to your computer and use it in GitHub Desktop.
Commit with random message
[user]
name = <yourname>
email = <youremail>
[core]
editor = vim
[push]
default = current
[alias]
wtc = !git commit -m \"$(curl -s whatthecommit.com/index.txt)\"
@metrofx
Copy link
Author

metrofx commented Aug 1, 2017

Just git wtc if you don't care about particular commit message. It would be randomized from whatthecommit.com.
Save in $HOME/.gitconfig or git config -e --global

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment