分叉github,然后添加另一个仓库

发布于 2025-02-09 16:49:22 字数 374 浏览 3 评论 0原文

我真的希望这是有道理的,并且有人可以帮助我是Github的新手。

我想开始在一个从存储库中分配的项目。分叉版本更基于UI(现在仅专注于一个平台)。问题在于原始项目的叉子可以更新其背后的引擎。 UI太远了,无法合并,但我认为我可以破解旧引擎参考并添加新的叉子引擎。 我是否可以分支UI更新,然后以某种方式链接到原始(分叉)存储库的叉子?

IE新仓库:

./
 /original(forkedENGINE)/
 /original(forkedENGINE)/files
 /original(forkedUI)/
 /original(forkedUI)/files
 /new files

或者我们只是在分叉一个并复制引擎或UI上的工作?

I really hope this makes sense and someone can help as I'm pretty new to Github.

I'd like to start work on a project that has been forked from a repo. The forked version is more UI based (it's now focus on one platform only) . The problem is that the original project has had a fork that updates the engine behind it. The UI is too far along to merge but I think I can hack out the old engine references and add the new forked engine.
Am I able to fork the UI update and then somehow link to the fork of the original(forked) repo?

i.e new repo:

./
 /original(forkedENGINE)/
 /original(forkedENGINE)/files
 /original(forkedUI)/
 /original(forkedUI)/files
 /new files

or is it work we just forking one and copying the engine or UI over?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤君无依 2025-02-16 16:49:22

最好是:

  • fork orientla存储库(这样,您将要贡献的目标存储库保留到目标存储库的链接)
  • 添加为遥控器的项目URL,该项目已从原始存储库中分配的项目URL
  • ,并开始使用黑客入侵,使用 导入/合并所需的位。
  • 原始存储库代码库作为当前代码,并从项目推送并将PR从原始存储库中

It is better to:

  • fork the originla repository (that way, you keep a link to the target repository you want to contribute to)
  • add as a remote the project URL that has been forked from the original repository
  • fetch from it and start hacking, using the original repository codebase as your current code, and importing/merging the bits you need from the project
  • push and make PR to the original repository.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文