开发者

Is it possible to 'fork a fork' in Github?

I am currently working on a project that is a spinoff (fork) from a framework I have been working on.

This project is intended to be pretty generic, but now I need to fork the codebase again for a client of mine.

At this moment, I have created a custom branch for my client, but I'd rather have a standalone repository for this.

  • Is is possible to 'fork a fork'?
  • If not, what alternatives do I have?

Outline of the situation:

  • Framework repository (original开发者_如何转开发)
    • Generic application repository (fork)
      • (not yet) Client repository (fork of application)

Note: when trying to 'fork a fork' in Github, you will receive a notification that you have already forked the project:

Is it possible to 'fork a fork' in Github?


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.

Answered in a comment by iFreilicht

Since this is the correct answer now, it is better to highlight it.


I contacted GitHub support about this 'issue' and they confirmed this is not possible. Also, it is very unlikely that such a feature will be implemented in the future.


Simple answer: Yes and no.

No, for a single account as you are unable to create two repositories with the same name (and forks always have the same name).

Yes, for multiple accounts. So you could setup an organization for your second fork.


now,there is a drop-down arrow, you can chose base repository

Is it possible to 'fork a fork' in Github?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜