From 38f49f4675f11f09b948fb9048d85f5b9237c816 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sat, 29 Mar 2025 14:58:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20execute.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- execute.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/execute.py b/execute.py index 42a2372..b3592ac 100755 --- a/execute.py +++ b/execute.py @@ -21,7 +21,12 @@ sample_string_bytes = sample_string.encode("utf-8") base64_bytes = base64.b64encode(sample_string_bytes) base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8") -cmd = 'git -c http.'+GITHUB_SERVER_URL+'/.extraheader="'+base64_string+'" clone ' + \ +config = 'http.'+GITHUB_SERVER_URL+'/.extraheader="'+base64_string+'"' +cmd = 'git config --global ' + config +os.system(cmd) +cmd = 'git config list ' +os.system(cmd) +cmd = 'git clone ' + \ GITHUB_SERVER_URL + '/' + \ GITHUB_REPOSITORY print('cmd:', cmd)