add auto git upgrade support

This commit is contained in:
lichx 2025-04-05 17:27:03 +08:00
parent e778bf5652
commit 9c1beff327
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
cd $(dirname $(readlink -f "$0")) cd $(dirname $(readlink -f "$0"))
git fetch origin && git reset --hard origin/master && git pull
docker compose up -d docker compose up -d