[英]fatal: unable to access 'https://github.com/MyName/MyRepo.git/': The requested URL returned error: 403
[英]remote: Permission to XXX/.git denied to YYY. fatal: unable to access 'https://github.com/XXX//': The requested URL returned error: 403
我想以前我使用过此命令,并输入了我的用户名和YYY
用户的通行证,但是现在我想为另一个XXX
用户执行此操作,但是我收到了以下错误消息:
remote: Permission to XXX/coursera-test.git denied to YYY.
fatal: unable to access 'https://github.com/XXX/coursera-test/': The requested URL returned error: 403
如何输入新的用户名和密码? 我在Windows 10上使用WindowsPowerShell
。
我转到“ Control Panel>User Accounts>Manage Windows Credentials
并删除了github
凭据。 然后我再次尝试git push
,这一次它询问新的登录信息,我可以更改它并完成工作!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.