Обновить execute.py
This commit is contained in:
@@ -24,8 +24,8 @@ base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
|
|||||||
key = 'http.'+GITHUB_SERVER_URL+'/.extraheader'
|
key = 'http.'+GITHUB_SERVER_URL+'/.extraheader'
|
||||||
value = '"'+base64_string+'"'
|
value = '"'+base64_string+'"'
|
||||||
cmd = 'git config --global ' + key + ' ' + value
|
cmd = 'git config --global ' + key + ' ' + value
|
||||||
# result = os.popen(cmd)
|
result = os.popen(cmd)
|
||||||
# print('result:' , result.read())
|
print('result:' , result.read())
|
||||||
|
|
||||||
key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf'
|
key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf'
|
||||||
value = '"git@'+'codex.r10x.net'+'"'
|
value = '"git@'+'codex.r10x.net'+'"'
|
||||||
|
|||||||
Reference in New Issue
Block a user