add scripts

This commit is contained in:
2026-03-08 09:00:16 +08:00
parent 08ef024bf1
commit 8d6e6a9c26
2 changed files with 15 additions and 0 deletions

4
git-after.sh Normal file
View File

@@ -0,0 +1,4 @@
cd output
sudo git add .
sudo git commit -m "$(date +'%Y-%m-%d %H:%M:%S')"
sudo git push origin main

11
git-brfore.sh Normal file
View File

@@ -0,0 +1,11 @@
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 ..
sudo python3 -m pip install -r requirements.txt