This commit is contained in:
2025-03-30 04:00:59 +03:00
parent 70da8bc8ce
commit 475cab5e0c

View File

@@ -21,23 +21,23 @@ base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
key = 'http.'+GITHUB_SERVER_URL+'/.extraheader'
value = '"'+base64_string+'"'
cmd = 'git config --global ' + key + ' ' + value
cmd = 'git config --local ' + key + ' ' + value
result = os.popen(cmd)
key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf'
cmd = 'git config --global ' + key + ' ' + GITHUB_SERVER_URL
cmd = 'git config --local ' + key + ' ' + GITHUB_SERVER_URL
result = os.popen(cmd)
# cmd = 'git config list --local'
# print(cmd)
# result = os.popen(cmd)
# print(result.read())
cmd = 'git config list --global'
cmd = 'git config list --local'
print(cmd)
result = os.popen(cmd)
print(result.read())
# cmd = 'git config list --global'
# print(cmd)
# result = os.popen(cmd)
# print(result.read())
cmd = 'git clone ' + \
GITHUB_SERVER_URL + '/' + \
GITHUB_REPOSITORY + ' ' + os.getcwd()