致命:身份验证失败 Git Bash

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21527506/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 09:26:21  来源:igfitidea点击:

fatal: Authentication failed Git Bash

gitbash

提问by Scott

I've been asked to set up git on my Windows machine in order to work on a project, it is my first time using the software and I have been given limited information other than the clone command below. I am trying the following command:

我被要求在我的 Windows 机器上设置 git 以便处理一个项目,这是我第一次使用该软件,除了下面的克隆命令之外,我得到的信息有限。我正在尝试以下命令:

git clone https://[email protected]/url/project

I am prompted to type in my password (which is correct I've even logged in and out of the website to confirm). Then I receive the error:

我被提示输入我的密码(这是正确的,我什至登录和退出网站进行确认)。然后我收到错误:

fatal: Authentication for https:://[email protected]/url/project

Am I missing a step here or could there be a permissions error on the other end that I will have to contact the owner for? To clarify I am running msysgit 1.8.4 on Windows 7.

我是否在这里遗漏了一个步骤,或者另一端是否存在权限错误,我必须联系所有者?为了澄清我在 Windows 7 上运行 msysgit 1.8.4。

回答by Stentor

Looks like the project is private and you are not on the contributor/team list. You should contact the owner.

看起来该项目是私有的,您不在贡献者/团队列表中。你应该联系业主。

回答by Hoque MD Zahidul

If you found authentication error problem when you entered correct password and username it's git problem. To solves this problem when you are installing the git in your machine uncheck the enable git credential managerenter image description here

如果您在输入正确的密码和用户名时发现身份验证错误问题,则是 git 问题。要在您的机器上安装 git 时解决此问题,请取消选中启用 git 凭据管理器在此处输入图片说明