GitHub的多个fork [英] multiple forks in GitHub's

查看:91
本文介绍了GitHub的多个fork的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用以下说明在github上创建同一第三方项目的第二个分支:
https://adrianshort.org/create-multiple-forks-of-a-github-repo/
不幸的是,github不允许我为此类"fork"向上游创建拉取请求-下拉列表中没有此类按钮和上游的分支.似乎根本不认为这是一个叉子-项目图标不同.
显然,我在本地使用 git remote add上游所做的更改是被github服务器忽略.

I've tried to make a second fork of the same 3rd party project on github using these instructions:
https://adrianshort.org/create-multiple-forks-of-a-github-repo/
Unfortunately github doesn't allow me to create a pull request to upstream for such "fork" - there is no such button and upstream's branch in drop down list. It seems it doesn't think that this is a fork at all - the project icon is different.
Apparently changes I did locally with git remote add upstream are ignored by github server.

有什么方法可以解决这个问题?

Any way to fix that?

我想要的是在一个github用户帐户下使用同一项目的两个功能齐全(必须PR正常工作)的分支.

What I want is two fully functional (PRs must work) forks of the same project under one github user account.

推荐答案

在现有分支中创建分支,而不是第二个分支.

Create a branch in your existing fork instead of a second fork.

这篇关于GitHub的多个fork的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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