From 8930d03c2b42aee3fbb36bcdbd8844e4e1aaf89f Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sun, 30 Mar 2025 04:02:46 +0300 Subject: [PATCH] Update --- execute.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/execute.py b/execute.py index 34e0276..8a97a27 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 --local ' + key + ' ' + value +cmd = 'git config --global ' + key + ' ' + value result = os.popen(cmd) key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf' -cmd = 'git config --local ' + key + ' ' + GITHUB_SERVER_URL +cmd = 'git config --global ' + 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()