-
-
Save starkcoffee/842804a38d6e74bcd732da61345cd0d5 to your computer and use it in GitHub Desktop.
Safe 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
alias yolo='(git symbolic-ref HEAD | grep -vq master && cowthink -f stegosaurus "#YOLO" && git push --force-with-lease) || cowthink -f beavis.zen "You tried to push master, fool."' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
via @spadgos