I used bitbucket extension (latest) for visual studio 2017 (latest). Through extension in vs, I login to bitbucket successfully. Then I tried to clone a repo, it again prompts me for Atlasssian credentials. This time the user name is different than what I used to login to bitbucket. I simply use user name and password for bitbucket. Then I get following error:
Error encountered while cloning the remote repository: Git failed with a fatal error.
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@example.com': terminal prompts disabled
Can you help what is going on?
Hi Raghu, welcome to the Community!
Based on the error message you posted, looks like this is a problem with Visual Studio. I found a solution in the Visual Studio forum, you could try this:
1. Delete this folder (backing it up in case you need to restore it):
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git
2. Uninstall all versions of Git via
Control Panel / Uninstall a program.
3. Run the Visual Studio 2017 installer and modify the install to remove
Git For Windows.
4. Download the latest version of Git and install it.
5. Run the Visual Studio 2017 installer again and modify the install to add
Git For Windows again.
Let us know if this worked for you!
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events