update sh

This commit is contained in:
2026-03-08 01:36:41 +08:00
parent 84546eb8ab
commit 9864740e14

15
git.sh Normal file
View File

@@ -0,0 +1,15 @@
sudo git fetch origin
sudo git reset --hard origin/main
cd output
sudo git fetch origin
sudo git reset --hard origin/main
cd ..
cd config
sudo git fetch origin
sudo git reset --hard origin/main
cd ..
sleep 60
cd output
sudo git add .
sudo git commit -m "$(date +'%Y-%m-%d %H:%M:%S')"
sudo git push origin main