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)