【发布时间】:2018-01-24 04:46:28
【问题描述】:
环境:
- Windows 10 家庭版 1709
- Microsoft Visual Studio Enterprise 2017 版本 15.5.3
- git 版本 2.16.1.windows.1
“团队资源管理器 -> 同步”时出现 Team Foundation 错误
输出(源代码控制 - Git)向我展示了
Opening repositories:
C:\Users\user\Documents\Projects\project
Git failed with a fatal error.
failed to acquire credentials.
failed to acquire credentials.
failed to acquire credentials.
From ssh://developer.whereprojectis.com/projects/project
= [up to date] master -> origin/master
* [new branch] Version1.5 -> origin/Version1.5
* [new branch] gov -> origin/gov
* [new branch] ver1.6.0 -> origin/ver1.6.0
远程原点 ssh://git@developer.whereprojectis.com/projects/project.git
我可以通过带有密码的 git CMD 获取、推送、拉取。
但是,Visual Studio 无法同步、获取、推送、拉取。
我该如何解决这个问题?
我也不能通过源树推拉。
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
Error reading SSH_ASKPASS output for prompt: Password:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
【问题讨论】:
标签: git visual-studio atlassian-sourcetree