Visual studio 2017 with bitbucket, terminal prompts disabled
I just experienced it this instant. so what i did is i tried to login to bitbucket, surpisingly it says "I cant login to using username please use email". then i did login using my email,then dig my bitbucket settings and found out that i can generate a password..
- Goto settings
- App password
- Create app password
- use the password to login instead of your real password
I have added my password to remote URL. (Team Explorer > Repository Settings > Remotes) https://username:[email protected]/username/myproject.git. After that my problem has solved.
I had the same issue, I found an answer that worked for me here: https://github.com/github/VisualStudio/issues/949
Below are the steps mentioned to fix: It seems that the bundled Git-Credential-Manager-for-Windows/ in VIsual Studio 2017 is not the latest release. Downloading the latest release and putting it on top of the files in Visual Studio 2017 worked for me.
- download the zip file gcmw-v1.17.0.zip from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.0
- navigate to
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\
(or wherever your 'missing'git-askpass.exe
resides). - make a copy of the git-core folder and rename it backup or something like that
- put the files from the zip file on top of the contents of your new git-core folder and overwrite where prompted