From 475cab5e0ce35dbaa19ea9b70e298fbe7524ca5b Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sun, 30 Mar 2025 04:00:59 +0300 Subject: [PATCH] Update --- execute.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/execute.py b/execute.py index 8a97a27..34e0276 100755 --- a/execute.py +++ b/execute.py @@ -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()