Unable to push commits

做~自己de王妃 提交于 2019-12-08 14:08:55

问题


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': team@everest.software
Password for 'https://team@everest.software@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

回答1:


As username for a GitHub repository should not be an email address, but an actual GitHub account user name.

Username for 'https://github.com': team@everest.software aUSername

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".



来源:https://stackoverflow.com/questions/51485997/unable-to-push-commits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!