push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403

第一次使用idea整合gitee插件用来push代码的时候,不小心输错了用户名或密码,导致后续push代码,一直报错:unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403
在确定了gitee码云里的仓库为public状态后,还出现403(没权限访问网站)的情况,基本锁定是用户名和密码填写不正确。
我第一时间将idea中gitee插件的用户名和密码修改正确了,Test也显示连接成功:Connection successful for user *****
push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403_第1张图片
但push代码至gitee码云的时候,还是报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403
这时我又陷入了深深地思考,idea中配置gitee插件的用户名和密码也修改正确了,但还是报错403(没权限访问网站),看来是本地账号或者缓存的问题了,经过一番百度,果然是本地账号的缓存在作祟。
解决方法:
打开 控制面板->用户账户->凭据管理器
push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403_第2张图片
打开发现,果然是之前第一次填写错误时的用户名和密码,之后点击编辑进行更新即可,再次push代码至gitee码云中,提示successful。

你可能感兴趣的:(push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403)