Files
IYUUAutoReseed/git_pull.sh
T
2020-03-25 17:44:56 +08:00

9 lines
204 B
Bash

#!/bin/sh
#脚本功能:从git拉取最新代码,然后执行辅种
pwddir=$(cd $(dirname $0); pwd)
echo $pwddir
cd $(dirname $0)
git fetch --all
git reset --hard origin/master
git pull
php ./iyuu.php