mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-23 10:05:23 +00:00
提示当前脚本路径。
This commit is contained in:
parent
e201505dca
commit
1c1ecd33b8
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
#脚本功能:从git拉取最新代码,然后执行辅种
|
||||
pwddir=$(cd $(dirname $0); pwd)
|
||||
echo $pwddir
|
||||
cd $(dirname $0)
|
||||
git fetch --all
|
||||
git reset --hard origin/master
|
||||
|
Loading…
x
Reference in New Issue
Block a user