【问题标题】:fatal: Could not read from remote repository error while git push致命:git push 时无法从远程存储库读取错误
【发布时间】:2017-10-23 10:06:25
【问题描述】:

riya@RFL113:~$ git remote add origin_personal git@github.com:RiyaKapuria/testing.git riya@RFL113:~$ git push -u origin_personal masterERROR:RiyaKapuria/testing.git 的权限 拒绝 railsfactory-riya。致命:无法从远程读取 存储库。

请确保您拥有正确的访问权限和存储库 存在。

我在 GitHub 中收到此错误

【问题讨论】:

  • 能否指定repo的url并提供git remote show origin的输出

标签: github


【解决方案1】:

首先检查您是否已登录

git config user.name

如果您已登录,请先尝试添加存储库

git remote add origin *your_repository_URL*

【讨论】:

  • 请检查您是否有权推送特定分支
猜你喜欢
  • 1970-01-01
  • 2019-10-24
  • 1970-01-01
  • 2012-11-10
  • 2013-04-13
  • 2014-05-04
  • 2015-01-19
  • 2020-01-20
  • 2015-01-17
相关资源
最近更新 更多