首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >请求的URL返回错误:

请求的URL返回错误:
EN

Stack Overflow用户
提问于 2019-06-29 15:17:33
回答 1查看 1.4K关注 0票数 1

我得到了这个错误,因为两个不同的帐户有两个存储库,如何解决这个问题!!

  1. 我从github克隆了一个project1表单Account-1
  2. 我能够提交并将更改推送到这个Account-1
  3. 我从github帐户再克隆了一个project2,但它与account-2不同
  4. 我可以从Account-2克隆
  5. 但我不能推到account-2

我得到的错误如下所示

代码语言:javascript
复制
$ 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
EN

回答 1

Stack Overflow用户

发布于 2019-06-29 15:24:26

This answer helped me solve the problem

如果窗口出现问题,则从windows历史记录中删除凭据。

  • 去找凭证经理
  • 转到Windows凭据
  • 删除泛型凭据下的条目
  • 尝试连接again.This时,它应该提示您输入正确的用户名和密码。

Remove credentials from Git

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56818654

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档