mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-11 19:28:57 +00:00
优化git自动更新sh脚本,防止因手动更改文件导致更新失败。
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd /root/IYUUAutoReseed
|
||||
git fetch --all
|
||||
git reset --hard origin/master
|
||||
git pull
|
||||
|
Reference in New Issue
Block a user