问题描述
我正在尝试将最近的提交推送到github上的中央存储库,但是拒绝访问我自己的存储库。我该怎么做才能更改或覆盖设置?
frameworks / Semantic-UI $ sudo git push
https://github.com':[email protected]
'https://[email protected]@github.com'的密码:
remote:Semantic-Org / Semantic-的权限UI.git拒绝使用Everest软件。
致命:无法访问 https://github.com/Semantic-Org/Semantic-UI.git/:
请求的URL返回错误:403
作为GitHub存储库的用户名不应是电子邮件地址,而应是实际的GitHub帐户用户名
当一个
第二,该用户名应与您要推送到的存储库的所有者名匹配:
Semantic-Org / Semantic-UI.git
我会假设你r GitHub用户名帐户不是 em 语义组织,即:
- 您不是所有者(并且可能不是所有者)不是协作者)在Semantic-UI.git存储库上
- 您不能直接推送到您不拥有的存储库
如果要回退到 Semantic-UI.git
,则需要先 fork 。
请参见 。
I am trying push a recent commit to my central repository on github, but I am denied access to my own repository. What can I do to change or override settings?
frameworks/Semantic-UI$ sudo git push
Username for 'https://github.com': [email protected]
Password for 'https://[email protected]@github.com':
remote: Permission to Semantic-Org/Semantic-UI.git denied to everest-software.
fatal: unable to access 'https://github.com/Semantic-Org/Semantic-UI.git/': The
requested URL returned error: 403
As username for a GitHub repository should not be an email address, but an actual GitHub account user name.
That is clearly apparent when one join GitHub:
Second, that username should match the one owning the repository you are pushing to:
Semantic-Org/Semantic-UI.git
I will assume your GitHub username account is not Semantic-Org, which means:
- you are not the owner (and probably not a collaborator) on Semantic-UI.git repository
- you cannot push directly to a repository you don't own
If you want to push back to Semantic-UI.git
, you need to fork that repository first.
See "Fork a repo".
这篇关于无法推送提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!