简体   繁体   English

如果我是所有者,如何分叉GitHub存储库

[英]How to fork a GitHub repository if I'm the owner

Although this is not a code question but code-related question. 虽然这不是代码问题,但与代码有关的问题。 So I think programmers are the righ people to help me. 所以我认为程序员是帮助我的严厉人。

I have a private repository for collaborative project. 我有一个用于协作项目的专用存储库。 I created the repository so I'm the repo. 我创建了存储库,所以我就是仓库。 owner. 所有者。 I need to fork and make pull requests to the project collaborator. 我需要分叉并向项目协作者发出请求。 I tried to add myself as a collaborator but GiHub says I can not be added as a collaborator as I'm the project owner. 我试图将自己添加为协作者,但GiHub表示,由于我是项目所有者,因此无法添加为协作者。 Also the fork icon is disabled and I can not make a fork. 另外,叉子图标也被禁用,我无法制作叉子。

I own the repo. 我拥有该仓库。 but it is a shared project where I need to fork and do my changes then make a pull request. 但这是一个共享项目,我需要在其中进行分叉并进行更改,然后发出请求请求。

You can create a branch, push it and then create a PR from it. 您可以创建一个分支,将其推送,然后从中创建PR。 https://help.github.com/articles/creating-a-pull-request/ https://help.github.com/articles/creating-a-pull-request/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM