Skip to content

Instantly share code, notes, and snippets.

@starkcoffee
Created August 10, 2016 16:30
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Safe git YOLO
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."'
@starkcoffee
Copy link
Author

via @spadgos

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