fatal: Authentication failed for ‘https://gitee.com/xxx/xxx.git/‘

编程入门 行业动态 更新时间:2024-10-20 21:10:00

fatal: Authentication <a href=https://www.elefans.com/category/jswz/34/1770925.html style=failed for ‘https://gitee.com/xxx/xxx.git/‘"/>

fatal: Authentication failed for ‘https://gitee.com/xxx/xxx.git/‘

solution

因为我的 gitee 帐号username 使用的是 手机号,所以我验证输入的时候一直输入的是gitee 工作台中的username,所以验证失败。

密码没有问题的,可以换多种name进行尝试。给出以下几种可能,

输入括号后面的命令进行查看

  • name (git config user.name)
  • email (git config user.email)
  • 你注册所用的手机号

查看密码-----git config user.password

全局配置

在使用git前,需要全局配置git

提交用户名 -
git config --global user.name “用户名”
提交邮箱 -
git config --global user.email “邮箱”
提交密码 -
git config --global user.password " 密码"

更多推荐

fatal: Authentication failed for ‘https://gitee.com/xxx/xxx.git/‘

本文发布于:2024-03-23 18:09:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1741222.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:failed   Authentication   fatal   https   git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!