我是“项目”回购的所有者,但不知何故我无法推送到它。Github验证,但不会允许代码推入
[email protected] ~/rails_projects/project $ git remote -v
origin [email protected]:user/project.git (fetch)
origin [email protected]:user/project.git (push)
这里是认证检查:
[email protected] ~/rails_projects/project $ ssh -T [email protected]
Hi user/project! You've successfully authenticated, but GitHub does not provide shell access.
推送尝试:
[email protected] ~/rails_projects/project $ git push origin qa
ERROR: The key you are authenticating with has been marked as read only.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
任何想法如何解决这个问题?
您是否属于Github上该组织的一部分?可以为特定成员设置对存储库的只读访问权限。也许情况就是这样。 https://github.com/blog/674-introducing-organizations – toniedzwiedz
不,我是我的回购所有者 – Abram