Skip to content

Instantly share code, notes, and snippets.

@arandilopez
Created November 14, 2014 04:48
Show Gist options
  • Select an option

  • Save arandilopez/9bbcadc1ce5d2a91a323 to your computer and use it in GitHub Desktop.

Select an option

Save arandilopez/9bbcadc1ce5d2a91a323 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# Push every crap you have done.
#
branch=$(git rev-parse --abbrev-ref HEAD)
git push -f origin $branch
@arandilopez
Copy link
Copy Markdown
Author

Git yolo

This only abuse of git push -f origin

That's because YOLO

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