Git错误致命:认证失败 [英] Git error fatal: Authentication failed

查看:123
本文介绍了Git错误致命:认证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

我正在使用cmds:

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

git push -u origin -–all

对此有任何想法吗?

谢谢!

推荐答案

我最近遇到了一个相同的问题(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.

完成.

这篇关于Git错误致命:认证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆