I am getting an error in my VS 2017 Team Explorer whenever I pull/fetch or push.
Git failed with a fatal error.
HttpRequestException encountered.
An error occurred while sending the request.
cannot spawn /C/Program Files/Git/mingw64/libexec/git-core/git-askpass.exe: No error
could not read Password for 'https://<myusername>@bitbucket.org': terminal prompts disabled.
I tried to set my password by indicating:
https://<myusername>:<mypassword>@bitbucket.org
Still not fixed. But when I used SourceTree, it is fine.
How can I fix this so I can able to use VS Team Explorer again for pull/push?
I am using the following:
Thanks in advance.
Same here, I do believe it's from bitbucket side.
the following worked for us :
Remove git related Credentials stored in Windows Credentials in >>Control Panel\All Control Panel Items\Credential Manager
link to SO here
then use this command :
git remote set-url origin https://name:[email protected]/repo.git
here is the source for this one