Created
July 6, 2022 01:33
-
-
Save xcodebuild/badb2316af559af27938afa83f6aef76 to your computer and use it in GitHub Desktop.
Auto commit & pull & push git repo to keep sync
This file contains hidden or 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
while : | |
do | |
echo "auto commit" | |
git add . | |
git commit -m "auto commit" $1 | |
git pull origin master | |
git push origin master | |
sleep 600 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment