代码之家  ›  专栏  ›  技术社区  ›  johnwalker00

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

  •  2
  • johnwalker00  · 技术社区  · 8 年前

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

    C:\MyRepo>git pull
    fatal: Authentication failed for 'https://tfsgit.somedomain.com/Dev/_git/MyRepo/'
    

    注:

    • 使用Git版本2.17.1.Windows.2
    • Git配置--全局凭据.helper管理器
    • git config--list--show origin--显示我实际上正在使用凭证管理器。
    • 控制面板->用户帐户->凭据管理器->常规凭据-更新/更改/删除这些操作没有任何作用
    1 回复  |  直到 8 年前
        1
  •  1
  •   johnwalker00    8 年前
    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. 新密码将在凭据管理器中更新。