Created
May 22, 2019 23:05
-
-
Save schukin/a87ae53e7efc73902abb5c90ee352ae7 to your computer and use it in GitHub Desktop.
Git Yolo
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
| git_commit_everything () { | |
| git add . | |
| git status | |
| NEXT_COMMIT_MESSAGE=`curl -s http://whatthecommit.com | perl -p0e '($_)=m{<p>(.+?)</p>}s'` | |
| echo $NEXT_COMMIT_MESSAGE | |
| git commit -m "[WIP] $NEXT_COMMIT_MESSAGE" | |
| } | |
| alias yolo=git_commit_everything |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment