git - 是否可以在 Github 中使用 'fork a fork'?

标签 git github version-control branch

我目前正在从事一个项目,该项目是我一直从事的框架的衍生(分支)。

这个项目旨在非常通用,但现在我需要为我的客户再次 fork 代码库。

此刻,我已经为我的客户创建了一个自定义分支,但我宁愿为此拥有一个独立的存储库。

  • 是否可以“ fork ”?
  • 如果不行,我有什么选择?

情况概要:

  • 框架库(原创)
    • 通用应用程序存储库(分支)
      • (尚未) 客户端存储库(应用程序的分支)

注意:当尝试在 Github 中“fork 一个 fork”时,您将收到一条通知,表明您已经 fork 了该项目:

Image showing a forked project cannot be forked again

最佳答案

This is now very possible. You just go to the fork you want to fork and click "fork" like you would always do. This only works if you don't have a different fork of that repository in your account already, though. If you do, you have to delete it.

iFreilicht 在评论中回答

既然现在这是正确答案,最好将其突出显示。

关于git - 是否可以在 Github 中使用 'fork a fork'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6675994/

相关文章:

GitHub for Windows 预提交 Hook

Git lfs 从本地裸仓库获取?或者 LFS 文件的其他本地副本?

git - 如何在 merge 前找到最后一次 git 提交

oauth - 如何为组织下的 github 企业创建 oauth2 token ?

ios - Xcode 项目(从 gi​​thub 下载的 zip)构建,但我在模拟器中出现黑屏

git - 什么是跟踪分支?

Git 检查自定义规则

git - 从 git 存储库中删除旧的提交信息以节省空间

XCode-Project 文件 .pbxproj - 如何在版本控制中处理它?

version-control - 如何在 mercurial 中过滤具有部分名称匹配的命名分支?