Visual studio 2017 with bitbucket, terminal prompts disabled

前端 未结 6 1253
借酒劲吻你
借酒劲吻你 2020-12-07 22:26

The visual studio stopped sending my commits to the bitbucket and this error appears

Error encountered while cloning the remote repository: Git faile

6条回答
  •  生来不讨喜
    2020-12-07 23:21

    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.

    1. download the zip file gcmw-v1.17.0.zip from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.0
    2. 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).
    3. make a copy of the git-core folder and rename it backup or something like that
    4. put the files from the zip file on top of the contents of your new git-core folder and overwrite where prompted

提交回复
热议问题