Skip to content

Instantly share code, notes, and snippets.

@dutymess
Last active May 8, 2020 15:15
Show Gist options
  • Save dutymess/01730600c77b39fa77eadb53ae187677 to your computer and use it in GitHub Desktop.
Save dutymess/01730600c77b39fa77eadb53ae187677 to your computer and use it in GitHub Desktop.
This can save a coder's life, in case of fire emergency. Add it to your .bachrc file.
function fire() {
git checkout -b fire-push
git add .
git commit -m "push everything b4 running away."
git push origin HEAD
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment