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.
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://xxxxx@bitbucket.org': 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!
Kind regards,
Ana
Ana, that worked for me. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me too. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that :)
Have a nice day,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked for me too, thanks a lot !
François
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same error( tried looks like all solutions over the internet( come on.., 2018... i cannot push my code(((
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! It worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ana, worked for me too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) Select Team Explorer
2) Choose Open Command Prompt in Action DropDown Box
3) then type Git push command (eg : git push -u origin master)
4) it will prompt for git repository password, type password there
5) enter
Enjoy ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that worked for me too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for Visual Studio 2019 too. Thank you :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked for me too, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.