问题描述
Visual Studio 停止将我的提交发送到 bitbucket 并出现此错误
The visual studio stopped sending my commits to the bitbucket and this error appears
克隆远程存储库时遇到错误:Git 因致命错误而失败.遇到 HttpRequestException.提交请求时出错.无法生成
C/程序文件 (x86)/Microsoft Visual Studio/2017/社区/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/TeamExplorer/Git/mingw32/libexec/git-core/git-askpass.exe:否这样的文件或目录
C / Program Files (x86) / Microsoft Visual Studio / 2017 / Community / Common7 / IDE / CommonExtensions / Microsoft / TeamFoundation / Team Explorer / Git / mingw32 / libexec / git-core / git-askpass.exe: No such file or directory
无法读取https://gustavobedsamarpes@bitbucket.org"的密码:终端提示已禁用当我尝试克隆我的存储库或提交时发生错误
could not read Password for 'https: //gustavobedsamarpes@bitbucket.org': terminal prompts disabled The error occurs when I try to clone my repository or commit
推荐答案
我遇到了同样的问题,我在这里找到了适合我的答案:https://github.com/github/VisualStudio/issues/949
I had the same issue, I found an answer that worked for me here:https://github.com/github/VisualStudio/issues/949
以下是提到的修复步骤:VIsual Studio 2017 中捆绑的 Git-Credential-Manager-for-Windows/似乎不是最新版本.下载最新版本并将其放在 Visual Studio 2017 中的文件之上对我有用.
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.
- 从
- 导航到
C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDECommonExtensionsMicrosoftTeamFoundationTeam ExplorerGitmingw32libexec
(或无论您的失踪"git-askpass.exe
驻留在哪里). - 复制 git-core 文件夹并将其重命名为备份或类似的名称
- 将 zip 文件中的文件放在新 git-core 文件夹的内容之上,并在出现提示时覆盖
- 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 Studio2017EnterpriseCommon7IDECommonExtensionsMicrosoftTeamFoundationTeam ExplorerGitmingw32libexec
(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
这篇关于带有bitbucket的Visual Studio 2017,终端提示已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!