本文介绍了https://xxx.visualstudio.com/DefaultCollection/_git/project 身份验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 git 将我的存储库推送到 Visual Studio 团队服务项目,但出现错误:

I am trying to use git to push my repository to a visual studio team services project, but I get the error:

fatal: Authentication failed for (url of team project)

我正在使用命令:

git remote add origin
     https://XXXXXXX.visualstudio.com/DefaultCollection/_git/project

git push -u origin -–all

知道如何解决这个问题吗?

Any idea of the fix for this?

推荐答案

我最近遇到了同样的问题(visual studio 2017 & Windows 10),使用以下方法解决:

I had a same issue recently (visual studio 2017 & Windows 10), and solved it using the following method:

控制面板 --> 凭据管理器 --> 管理 Windows 凭据 --> 选择 git 存储库的条目,并编辑用户和密码.

Control Panel --> Credential Manager --> Manage Windows Credentials --> Choose the entry of the git repository, and Edit the user and password.

完成.

这篇关于https://xxx.visualstudio.com/DefaultCollection/_git/project 身份验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 11:17