Created
October 12, 2018 19:00
-
-
Save havron/9a41f7c218b2e5dd89130effa0b0a630 to your computer and use it in GitHub Desktop.
Leave no repo behind!
This file contains 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
commit_msg="THIS MACHINE IS IN PERIL: NO REPOS WILL BE LEFT BEHIND!" | |
echo "$commit_msg" | |
find ~ -name ".git" -type d -exec bash -c "echo 'Saving {} from peril!' \ | |
&& cd '{}'/.. && git add -A && git commit -m "$commit_msg"\ | |
&& git push" \; | |
echo "WHAT ARE YOU DOING STAYING HERE?? RUN!!!" |
Author
havron
commented
Oct 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment