Update index.py

This commit is contained in:
dami
2025-05-23 23:44:08 +08:00
parent f84fcc035c
commit b4fa69642c
+5 -1
View File
@@ -196,7 +196,11 @@ def getRunShellCmd():
if 'params' in args:
param = args['params']
param = re.sub("\"", '', param)
cmd = "bash {} {}".format(shellFile, param)
cmd = ""
cmd += "git config --global credential.helper store\n"
cmd += "git config --global pull.rebase false\n"
cmd += "bash {} {}".format(shellFile, param)
return mw.returnJson(True, 'ok', cmd)