mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2026-10-23 13:24:11 +00:00
提示当前脚本路径。
This commit is contained in:
1 parent
e201505dca
commit
1c1ecd33b8
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user