After updating Visual Studio 2017 to version 15.7.6, I'll get this error message while doing sync or fetch:
Error encountered while fetching: Git failed with a fatal error. HttpRequestException encountered. An error occurred while sending the request. cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for 'https://[email protected]': terminal prompts disabled
The issue is a bug, but is there a work around?
I tried @Leo Liu-MSFT answer but it did not work for me , the only way it worked was to add password into bit-bucket URL
and