【发布时间】:2020-10-26 03:09:43
【问题描述】:
似乎我在某个地方获得了错误的凭据并被缓存,这不允许我将代码推送到 Azure DevOps(Azure 存储库)。
我使用 Git Bash 作为客户端工具。
错误信息如下:
fatal: Authentication failed for 'https://xxx.visualstudio.com/DefaultCollection/dms/_git/reponame/'
我尝试了以下解决方案,但没有成功
-
停止并启动 Git bash
-
git config --global credential.helper "cache --timeout=60"
3 重命名C:\Users\hp\AppData\Local\GitCredentialManager\tenant.cache to C:\Users\hp\AppData\Local\GitCredentialManager\tenant.cache.bak
即使删除了tenant.cache 仍然没有乐趣......
【问题讨论】:
标签: git azure azure-devops azure-repos