Compare commits

...

3 Commits

Author SHA1 Message Date
14f55ef017 update git.sh 2026-03-08 01:46:00 +08:00
9864740e14 update sh 2026-03-08 01:36:41 +08:00
84546eb8ab add run.sh 2026-03-08 01:27:27 +08:00

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 120
cd output
sudo git add .
sudo git commit -m "$(date +'%Y-%m-%d %H:%M:%S')"
sudo git push origin main