带bitbucket的Visual Studio 2017,禁用终端提示 [英] Visual studio 2017 with bitbucket, terminal prompts disabled

查看:120
本文介绍了带bitbucket的Visual Studio 2017,禁用终端提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio停止将我的提交发送到Bitbucket,并且出现此错误

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

克隆远程存储库时遇到错误:Git失败并出现致命错误. 遇到HttpRequestException. 提交请求时出错. 无法产生

Error encountered while cloning the remote repository: Git failed with a fatal error. HttpRequestException encountered. There was an error submitting the request. can not spawn

C/程序文件(x86)/Microsoft Visual Studio/2017/社区/ Common7/IDE/CommonExtensions/微软/TeamFoundation/团队 资源管理器/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中捆绑的Windows/Windows的Git-Credential-Manager-manager不是最新版本.下载最新版本并将其放在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.

  1. git-askpass.exe所在的地方).
  2. 复制git-core文件夹并将其重命名为备份或类似名称
  3. 将zip文件中的文件放在新git-core文件夹内容的顶部,并在出现提示时覆盖
  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

这篇关于带bitbucket的Visual Studio 2017,禁用终端提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆