Windows 密码已更改,现在我无法访问 TFS GIT 存储库

joh*_*r00 5 git authentication tfs active-directory

Windows 密码已更改,现在我无法访问 TFS GIT 存储库。

C:\MyRepo>git pull
fatal: Authentication failed for 'https://tfsgit.somedomain.com/Dev/_git/MyRepo/'
Run Code Online (Sandbox Code Playgroud)

笔记:

  • 使用 git 版本 2.17.1.windows.2
  • git config --global credential.helper 管理器
  • git config --list --show-origin - 显示我实际上正在使用凭据管理器。
  • 控制面板 -> 用户帐户 -> 凭据管理器 -> 通用凭据 - 更新/更改/删除这些没有任何作用

joh*_*r00 4

  1. 打开 Internet Explorer 至https://tfsgit.somedomain.com/Dev/_git/MyRepo/
  2. 使用 TFS Git Web 应用程序进行身份验证。
  3. 打开命令窗口。重新尝试 git pull

C:\MyRepo>git pull remote: Microsoft (R) Visual Studio (R) Team Foundation Server remote: Found 1661 objects to send. (315 ms) Receiving objects: 100% (1661/1661), 100.94 MiB | 470.00 KiB/s, done. Resolving deltas: 100% (783/783), completed with 388 local objects.

  1. 新密码将在凭据管理器中更新。

  • 在凭据管理器中更改它对我有用。存储库中有两个以“git:”开头的条目都需要更改。 (4认同)