Skip to content

Instantly share code, notes, and snippets.

@mitchellvanw
Last active May 7, 2016 22:42
Show Gist options
  • Save mitchellvanw/6902ff1aeee0efa3e10d143e3e897b61 to your computer and use it in GitHub Desktop.
Save mitchellvanw/6902ff1aeee0efa3e10d143e3e897b61 to your computer and use it in GitHub Desktop.
Commit already...
ca () {
message=$(curl -s whatthecommit.com/index.txt)
git add .
git commit -a -m "$message";
}
@mitchellvanw
Copy link
Author

I guess I didn't see this, thanks!

@clarkeash
Copy link

clarkeash commented May 7, 2016

I like what they suggest on their readme 😄

git config --global alias.yolo '!git commit -m "$(curl -s whatthecommit.com/index.txt)"'

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