I've just hardcoded username and password which works when credential.helper is unset :
ifarguments.operation=="get":#print("protocol=https") <-- even try with uncommented this line and the next one, but unsuccessfully
#print("host=mydomain")
print("username=myUsername")print("password=myPassword")
I've also tried another form of setting credential.helper (it is possible to check which is domain by using sys.stdin.read(), but for this example it is not so important ) :
I read git credential documentation thoroughly, take a look on 5-6 different examples on the net (good example is this link ), but could not get this simple case to work.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
hi,
I've just tried to execute slightly modified code, but I always get error "fatal: Authentication failed for mydomain/git/myGitRepo.git/".
My environment:
Problem description
In the place of following
I've just hardcoded username and password which works when credential.helper is unset :
I've also tried another form of setting credential.helper (it is possible to check which is domain by using sys.stdin.read(), but for this example it is not so important ) :
I read git credential documentation thoroughly, take a look on 5-6 different examples on the net (good example is this link ), but could not get this simple case to work.