I have an ASP.NET versioned project in GitHub and when trying to do a push the following error is returned:
fatal: could not read Username for ' link : terminal prompts disabled
Does anyone have any tips?
I have an ASP.NET versioned project in GitHub and when trying to do a push the following error is returned:
fatal: could not read Username for ' link : terminal prompts disabled
Does anyone have any tips?
This error occurs a> when git
needs to ask the user name and password, however the only mechanism to ask for the user and password is the console and there is no console available .
This usually occurs when you are using some software over git
(in your case, I believe it would be Visual Studio) and have something incorrect or missing set up in the credentials part.
You can solve the problem as follows:
If you are not using any tools, use this command on the console and try again to do push
:
env GIT_TERMINAL_PROMPT=1