While trying to clone/push/pull a repository's branch from BitBucket using Visual Studio getting below error-
"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://**********@bitbucket.org': terminal prompts disabled"
[********** is my user name]
My Git version is:- 2.17.1.windows.2
Please suggest.
Hi Mona, welcome to the Community!
First, we'll need to find out where this error is coming from.
Let us know!
Ana
Hi Ana,
Thank you for the response. Using command line I was able to push/pull. But I needed to provide BitBucket credential for each pull/push request. So I just uninstalled Visual Studio and reinstalled it. Now it's working fine.
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like this is a trending issue: you might be able to find an fix here: https://bitbucket.org/site/master/issues/16892/cannot-fetch-or-push-using-visual-studio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.