Get random commit messages for your git commits
Click the button to generate a random commit message from our collection.
You can use this API directly from your terminal:
curl -q -LSsf http://api.casjay.coffee/api/v1/tools/commit/text
git config --global alias.random-commit '!f() { git commit -m "$(curl -q -LSsf http://api.casjay.coffee/api/v1/tools/commit/text)"; }; f'
Then use: git random-commit
commit_random() {
git commit -m "$(curl -q -LSsf http://api.casjay.coffee/api/v1/tools/commit/text)" "$@"
}
Add to your ~/.bashrc or ~/.zshrc