You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Visual Studio 17.10.3 Git报错‘Failed to fetch from remote repository’求助

Visual Studio中Git Fetch失败,但命令行可正常执行

我查看过相关帖子并尝试其中解决方案,已更新Visual Studio版本,因许久未执行fetch操作,该问题可能在之前版本就已存在。

当前收到的报错信息如下:

Error encountered while fetching: Failed to fetch from the remote repository. See the Output window for more details. Failed to fetch from the remote repository. See the Output window for more details.

以上消息来自Output窗口。我已尝试以下操作但均无效:

  • 通过Visual Studio Installer修复Visual Studio
  • 通过Visual Studio Installer回滚至旧版本
  • 安装git-credential-manager.exe并在git config中配置
  • 在git config中禁用credential-manager

令我困惑的是,命令行中的git fetch命令可正常执行。

内容的提问来源于stack exchange,提问作者killa

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.22 00:54:51