用git将代码上传码云 报错 fatal: Authentication failed for "https://...."
2017-09-30 11:06
1111 查看
昨天在中国开源社区的码云用git上传代码时,总是提示fatal: Authentication failed for “https://….”的错误,用小乌龟(tortoisegit)还会提示git did not exit cleanly (exit code 128)的错误,平常用的好好的,输入开源中国社区的账号密码都没错,怎么突然就报这个错误,网上的各种方法试过都没有用,让人百思不得其解,直到今天登陆码云的时候弹出这么个网址:
码云账号不再使用社区账号进行二次身份验证的通知
茅塞顿开!!!
不是我这边的问题!!!
坑了我半天!!!
2017年9月29号后,码云不再支持使用社区账号直接登录,之前在git上传代码到码云直接用开源中国社区的账号密码是没问题的,但是现在不行了!!!
那怎么办?
我是这么做解决的。步骤如下:
码云虽不再支持使用社区账号直接登录,但是依然能用社区的账号间接登陆,邮箱依然是社区注册的邮箱。
1.先注销用社区账号登陆的码云;
2.然后点击忘记密码,按着提示步骤直到用社区注册的邮箱设置新的密码(你可以设置成和社区一样的);
3.最后在使用git上传代码后的输入账号密码提示中使用码云的账号密码(即社区注册的邮箱和新的密码);
成功上传!!!
希望能帮助到跟我遇到同样问题的同志!
码云账号不再使用社区账号进行二次身份验证的通知
茅塞顿开!!!
不是我这边的问题!!!
坑了我半天!!!
2017年9月29号后,码云不再支持使用社区账号直接登录,之前在git上传代码到码云直接用开源中国社区的账号密码是没问题的,但是现在不行了!!!
那怎么办?
我是这么做解决的。步骤如下:
修改码云的密码
注意:是修改码云的密码,而不是社区的!码云虽不再支持使用社区账号直接登录,但是依然能用社区的账号间接登陆,邮箱依然是社区注册的邮箱。
1.先注销用社区账号登陆的码云;
2.然后点击忘记密码,按着提示步骤直到用社区注册的邮箱设置新的密码(你可以设置成和社区一样的);
3.最后在使用git上传代码后的输入账号密码提示中使用码云的账号密码(即社区注册的邮箱和新的密码);
成功上传!!!
希望能帮助到跟我遇到同样问题的同志!
相关文章推荐
- (诊断)解决GitHub使用双因子身份认证“Two-Factor Athentication”后无法git push 代码的“fatal: Authentication failed for ...”错误
- 遇到问题:push的时候出现fatal: Authentication failed for 'https://git.oschina.net/andthink/zsxw_android.git/'问
- git clone 的时候 fatal: Authentication failed for "http://......"
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- Rails: could not connect to database postgres: FATAL: Peer authentication failed for user "username"
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- FATAL: Peer authentication failed for user "geo_rails_test_creator"
- intellij idea git fetch failed fatal:Authentication failed for
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- Git fatal: Authentication failed for '***' 错误解决
- 纠错: git push error “fatal: Unable to find remote helper for 'https'"
- 关于连接PostgreSQL时提示 FATAL: password authentication failed for user "连接用户名" 的解决办法
- psql -U myusername mydb 错误:psql: FATAL: Ident authentication failed for user "mypguser"
- git SourceTree(remote:invalid username or password,fatal:Authentication falied for 'https:...
- 【Linux】psql: FATAL: Ident authentication failed for user "username" Error and Solution
- github push 出错:fatal: Authentication failed for 'https://github.com/ ..的解决
- Peer authentication failed for user "postgres" 的解决办法
- 图片上传出现错误提示ognl.MethodFailedException: Method "setUpload" failed for object
- git fatal: Unable to find remote helper for 'https'