解决$ git clone fatal: Authentication failed

今天在使用git clone克隆项目的时候报如下错误:

$ git clone XXXXXX
Cloning into ‘XXXX‘...
fatal: Authentication failed for ‘XXXXXX‘

在网上查找了一番,也使用如下命令进行了设置:

git config --global user.name
git config --global user.email

同时也清除了windows凭证管理器中记录的凭证,仍然不行,最后使用了如下命令解决:

git config --system --unset credential.helper

特此记录一下,以备后续不时之需。

原文地址:https://www.cnblogs.com/zhuzhaoli/p/10687988.html

时间: 2024-08-19 23:31:32

解决$ git clone fatal: Authentication failed的相关文章

git——解决“fatal: Authentication failed for 'https://github.com/balabala”

平复一下心情,到底如何在github上将队友和owner的仓库连接?如何push代码到远程仓库???找了巨多教程,终于解决了~ 刚到公司不久,开始学着用git,在提交代码的时候怎么都提不上去! 解决办法: 1.owner需要在github上创建一个组织:Create an organization,在这里邀请成员 2.在该组织下创建一个team,然后邀请你的团队成员 3.新建一个repository 4.队友需要在自己的电脑里生成一个ssh key.关于如何生成ssh key : https:/

Git push “fatal: Authentication failed ”

Git push "fatal: Authentication failed " 问题原因 之前设置了两步验证 If you enabled two-factor authentication in your Github account you won't be able to push via HTTPS using your accounts password. Instead you need to generate a personal access token. This

git中fatal: Authentication failed for 的问题

从公司的Git服务器上pull代码,然后怎么操作都报"fatal: Authentication failed for"的错误,重新打开,电脑重启都没有解决,搞得超级郁闷.后来在一个blog中找到了解决方法.看到错误知道是验证失败,而且通过idea的客户端获取程序没有问题,但是在vs code的终端中获取,就是一直包这个错误.找了好久,也没看到那里可以修改凭证的.看到很多修改配置文件的,试了也不行.后来看到一篇文章里看到Windows中git的凭证存在Wind系统的中,在凭据管理器中可

fatal: Authentication failed (二)

一.前言 前面一段时间写了一篇解决 git 上传代码出现的权限验证问题,还是没有很好的解决.现在还了方式,具体步骤如下: 二.操作流程 我们在上传代码到服务器,我们都需要安装 Git 版本控制.在安装的时候,建议大就都勾选 Git Bash 这个工具,便于我们直接使用上传和克隆代码.那么我们怎么解决这个 fatal: Authentication failed 呢?首先我们找到 Git Bash ,使用 “以管理员身份运行” 使用 Git 命令进入到你项目所在的文件夹下,在该路径下输入: git

git操作及fatal: Authentication failed for错误解决

1.配置用户信息 git config --global user.name [username] git config --global user.email [email] 2.查询用户信息 git config --list 3.如果push遇到在输入密码是熟错后,就会报这个错误fatal: Authentication failed for 解决办法: git config --system --unset credential.helper 之后你在push就会提示输入名称和密码---

解决GitHub使用双因子身份认证“Two-Factor Athentication”后无法git push 代码的“fatal: Authentication failed for ...”错误

在GitHub上采取双因子身份认证后,在git push 的时候将会要求填写用户的用户名和密码,用户名就是用户在GitHub上申请的用户名,但是密码不是普通登录GitHub的密码. 一旦采取双因子身份认证,登录GitHub的时候既需要输入用户名和密码,还需要输入一个即时的验证码,这样可以对Git账户提供双重的安全保障.但是git push 却怎么也没法推送到远端repo,总是提示身份认证错误:“fatal: Authentication failed for ...” 查了很多国内的解决方案,只

git [command line] fatal: Authentication failed for

fatal: Authentication failed for https://www.jianshu.com/p/8a7f257e07b8 git.exe fetch -v --progress "origin" 解决方法如下: git config --system --unset credential.helper 终于解决“Git Windows客户端保存用户名与密码”的问题 - dudu - 博客园http://www.cnblogs.com/dudu/archive/20

gitlab fatal: Authentication failed for 'http://10.2.80.17:8090/yeyichao/201904041026PROj.git/'

fatal: Authentication failed for 'http://10.2.80.17:8090/yeyichao/201904041026PROj.git/' git config --system --unset credential.helper Push failed: Failed with error: Authentication failed for 血泪史 2018年10月11日 21:26:35 NoOne-csdn 阅读数:833 原因:git 登录时用了一

Git在提交代码时出现的fatal: Authentication failed的问题

git push origin master remote: Incorrect username or password ( access token ) fatal: Authentication failed for 'https://gitee.com/xxxxxx/xxxxxxxxx.git/' 修改为正确的用户名与密码即可 原文地址:https://www.cnblogs.com/gispathfinder/p/11022332.html