Skip to content

Instantly share code, notes, and snippets.

@argami
Created May 11, 2021 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save argami/f80085fd82e785aaff369610d9be0cd9 to your computer and use it in GitHub Desktop.
Save argami/f80085fd82e785aaff369610d9be0cd9 to your computer and use it in GitHub Desktop.
#!/bin/bash
# install this in any folder in your path and execute it
# by fire.sh in case of a real fire to save your data
echo "Leave the building you fool i will handle it"
# adding new branch to not polute the one beign used
# and unique by user name
git checkout -b fire_starting_$(whoami)
git add .
git commit -m "everything added by fire.sh before a fire"
# forcing only to avoid any chance of issue"
git push origin fire_starting -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment