mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-10 06:28:31 +08:00
修复 git_pull 参数
This commit is contained in:
parent
e4339ab204
commit
45f434df0a
|
@ -87,7 +87,7 @@ function Git_CloneScripts {
|
||||||
function Git_PullScripts {
|
function Git_PullScripts {
|
||||||
echo -e "更新scripts...\n"
|
echo -e "更新scripts...\n"
|
||||||
cd ${ScriptsDir}
|
cd ${ScriptsDir}
|
||||||
git remote set-url origin $ShellURL
|
git remote set-url origin $ScriptsURL
|
||||||
git fetch --all
|
git fetch --all
|
||||||
ExitStatusScripts=$?
|
ExitStatusScripts=$?
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
|
Loading…
Reference in New Issue
Block a user