Last active
May 7, 2016 22:42
-
-
Save mitchellvanw/6902ff1aeee0efa3e10d143e3e897b61 to your computer and use it in GitHub Desktop.
Commit already...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ca () { | |
message=$(curl -s whatthecommit.com/index.txt) | |
git add . | |
git commit -a -m "$message"; | |
} |
I guess I didn't see this, thanks!
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
Why the grep part?
message=$(curl -s whatthecommit.com/index.txt)