请求的URL在Github中返回错误:403
我收到这个错误,因为有两个存储库来自两个不同的帐户,如何解决这个问题强>请求的URL在Github中返回错误:403,git,github,git-bash,Git,Github,Git Bash,我收到这个错误,因为有两个存储库来自两个不同的帐户,如何解决这个问题 我从github克隆了一个project1表单
project1
表单
Account-1
项目2
,但它是
与账户2不同帐户2
账户2
$ git push origin master
remote: Permission to myAccount/simple-demo.git denied to rahulTcs.
fatal: unable to access 'https://github.com/micheal/simple-demo.git/': The requested URL returned error: 403
如果windows出现问题,请从windows历史记录中删除凭据
- 转到凭据管理器
- 转到Windows凭据
- 删除通用凭据下的条目
- 再次尝试连接。这一次,它将提示您输入正确的用户名和密码