【发布时间】:2021-01-27 14:30:04
【问题描述】:
我正在使用 VS2019 和 Azure DevOps。我根本不是源代码控制方面的专家,我只使用 Azure Devops 作为我的项目的备份。
我最近不得不重新安装我的电脑并开始了一个新项目。但是当尝试推送到 Azure DevOps 时,我收到以下错误:
Failed to push the branch to the remote repository. See the Output window for more details.
Pushing master
Error encountered while pushing branch to the remote repository: Git failed with a fatal error. unable to update url base from redirection: asked for: https://dev.azure.com/...../info/refs?service=git-receive-pack redirect: https://spsprodweu4.vssps.visualstudio.com/_signin?
我似乎被重定向到登录页面。但我已在 Visual Studio 中登录,并且正在查看其他项目。我该如何解决这个问题?
【问题讨论】:
-
您是否安装了适用于 Windows 的 Git?如果是,您是否安装了 Git 凭据管理器(核心或常规)?
-
我使用 Git Credential Manager Core 安装了适用于 Windows 的 Git
-
你能从命令行推送吗?还是你得到同样的错误?
标签: git visual-studio azure-devops