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