迁移到github后,如何将存储库标记为github中的叉子?
我有一个 main
存储库和一个 fork
存储库,在类似 GitHub 的 SCM 系统中管理。 现在,我已通过在 GitHub 中创建两个存储库 main
和 fork
将这两个存储库迁移到 GitHub,将它们作为远程存储库添加到我的本地存储库,并将整个历史记录推送到它们。到目前为止,一切都很好。
当我直接在 GitHub 上从 main
分叉 fork
时,fork
会在 GitHub UI 上标记为这样。
我的问题是,我可以以某种方式连接 GitHub 中的存储库,使它们看起来就像在 GitHub 上分叉一样吗?
I have a main
repository and a fork
repository managed in a GitHub-like SCM system.
Now I've migrated both repositories to GitHub by creating two repos main
and fork
in GitHub, added them as remotes to my local repos and pushed the entire history to both of them. So far, so good.
When I would have forked fork
from main
directly on GitHub fork
would be marked as such on the GitHub UI.
My question is, can I connect the repositories in GitHub somehow such that they appear as if forked on GitHub?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论