remote: Coding 提示: Authentication failed.【coding.net】

今天遇到一个坑,就是coding.net改版后,我们本地git无法提交代码。

错误是:

remote: Coding 提示: Authentication failed.
remote: 认证失败,请确认您输入了正确的账号密码。

remote: Coding 提示: Authentication failed.
remote: 认证失败,请确认您输入了正确的账号密码。

这个坑明显就是帐号无法认证成功的信号。很多博客发布文章表明使用“windows 任据”解决了问题。但是我是mac,使用:

git config --system --unset credential.helper

或使用:

git config --global user.password 123456

最终发现并没有用。

问题其实是coding.net开了个玩笑。它改版了。

原来就搞不明白为什么使用用户名作为帐号名,经过了两年,它终于修改成了邮箱或或是手机号。

结论:用户名修改成帐户绑定邮箱即可。成功解决这个问题。

猜你喜欢

转载自www.cnblogs.com/q1104460935/p/12517834.html