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/‘
发布评论