增加git更新批处理

This commit is contained in:
iyuu.cn
2020-03-03 16:42:44 +08:00
parent 07b0b2626d
commit 4a63353d27
3 changed files with 8 additions and 1 deletions

5
git_pull.sh Normal file
View File

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