繁体   English   中英

Github - 叉私人回购

[英]Github - Fork a private repo

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

我在GitHub上没有付费帐户,那么如何分配私有存储来修改和发送拉取请求?

正如“ 如果我将其他人的私人Github仓库分配到我的帐户中,它是否会作为公共仓库出现在我的帐户中? ”中提到的,您可以分叉私人仓库(您已将其作为私人用户添加)。 由此产生的回购仍将是私有的,您将能够提出拉动请求。

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

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

 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

暂无
暂无

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

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