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