Created
October 3, 2019 03:23
-
-
Save Mr-Ventures/c5c0583d172531aee35b28761bb75e42 to your computer and use it in GitHub Desktop.
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
# echo Autocommiting... | |
# Date in format of "2019.09.04 - 11.19.09" | |
# which means Sept 4, 2019 at 11:19:09 AM | |
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | |
git add . | |
git add -u | |
git commit -m "$current_time" | |
# Push, if desired | |
git push origin HEAD | |
# Pause, if desired | |
# read -p "Press enter to continue" | |
echo Done! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment