25

我已被添加到一个拥有一些私有存储库的组织中,我需要向他们发送包含一些更改的拉取请求,但我不知道我是否可以。

我在 GitHub 上没有付费帐户,那么我如何分叉该私人仓库来修改和发送拉取请求?

4

2 回答 2

34

正如“如果我将其他人的私人 Github 仓库分叉到我的帐户中,它会作为公共仓库出现在我的帐户中吗? ”中所述,您可以分叉一个私有仓库(为此您被添加为私人用户)。生成的 repo 仍然是私有的,你将能够提出 pull-requests。

于 2012-09-02T18:47:23.617 回答
5

您可以从私有存储库中的分支发出拉取请求,而无需分叉。

我们开始使用的工作流程是:

 1. clone the private repository
 2. make a branch
 3. work on the branch
 4. push the branch to the private repository
 5. goto GitHub and create a pull request from the branch on the private repository
 6. someone else reviews the the pull request and decides to merge it with master on GitHub
 7. delete the branch unless there was a problem and it was not merged then go back to #3
于 2013-01-16T20:31:53.600 回答