执行git push命令时报错unable to access ‘https://github.com/xxx.git/‘: The requested URL returned error: 403

Posted 二木成林

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了执行git push命令时报错unable to access ‘https://github.com/xxx.git/‘: The requested URL returned error: 403相关的知识,希望对你有一定的参考价值。

异常

原因

用了其他账号登录。

解决

第一步,打开控制面板

第二步,进入用户账户

进入管理Windows凭据

第三步,删除掉之前的用户凭据

第四步,再次执行git push命令就会弹出输入框,让你重新输入登录用户和密码。

上传成功

也可以看到今天修改的凭据

以上是关于执行git push命令时报错unable to access ‘https://github.com/xxx.git/‘: The requested URL returned error: 403的主要内容,如果未能解决你的问题,请参考以下文章

Idea上传GitHub时报错:push failed: fatal: unable to access ‘https://github.com/***port 443: Timed out

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

intellij idea运行Android程序时报错;Unable to locate adb within SDK

Vue 安装 element-ui时报错 code ERESOLVE unable to resolve dependency tree

解决PyCharm上传代码到Github出现push failed: unable to acces