我如何才能再次创建GitHub项目? [英] How can I make a second fork of a GitHub project?

查看:123
本文介绍了我如何才能再次创建GitHub项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想派生一个github项目来解决几个问题,然后发送拉取请求.

I want to fork a github project to fix a couple of issues and then send a pull request.

我遇到的问题是我已经分叉了该项目,以使其适合另一个用户群.

The problem I'm running into is that I've already forked the project to adapt it for another user base.

是否可以创建第二个分叉?如果是这样,怎么办?

Is it possible to create a second fork? If so, how?

当我现在尝试进行分叉时,它会将我带到先前创建的分叉.

When I try to fork now it just takes me to the previously created fork.

推荐答案

除非使用两个不同的GitHub帐户,否则无法在同一个GitHub项目中创建两个fork.

There is no way to have two forks of the same GitHub project unless you use two different GitHub accounts.

所以:

  1. 创建一个单独的GitHub帐户(并验证电子邮件)

  1. Create a separate GitHub account (and verify the email)

叉 项目

以协作者"的身份邀请您的主要GitHub帐户(来自 设置)

Invite your main GitHub account as a "Collaborator" (from the settings)

您可能需要添加额外的步骤,以使用新的GitHub帐户创建组织,并邀请您的主要github帐户作为该组织的所有者(还要确保您的新分支位于该新组织中).这样一来,您就可以进行自动部署到连接到您的主要GitHub帐户的Heroku应用程序之类的事情.

You may need to add the extra step of creating an organization with the new GitHub account and inviting your main github account as an owner of the organization (also make sure your new fork is in that new organization). This will let you do things like deploy automatically to a Heroku app that is connected to your main GitHub account.

为什么我们不能只有多个叉子?

Why can't we just have multiple forks???

这篇关于我如何才能再次创建GitHub项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆