优化git自动更新sh脚本,防止因手动更改文件导致更新失败。

master v1.5.6
iyuu.cn 5 years ago
parent 9a39306990
commit 755bb1d526
  1. 2
      config/git_pull.sh

@ -1,3 +1,5 @@
#!/bin/sh
cd /root/IYUUAutoReseed
git fetch --all
git reset --hard origin/master
git pull

Loading…
Cancel
Save