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!!!" |