在fork和parent之间切换角色 [英] Switching role between fork and parent
问题描述
我想我可以删除我的存储库,然后让原始开发人员将他们转移到我的存储库,然后让原来的开发人员从中分离出来,然后将我自己的更改从本地回购中推出。但不知何故,这感觉不对。这将取决于我的本地副本。例如,页面分支可能会造成额外的麻烦。我希望有一个更清晰的解决方案。
似乎没有干净的方法来做到这一点。
看起来你最好的选择是要求GitHub支持将存储库转换为正常模式,而不是分叉模式。
另一个解决方案是删除并重新创建存储库。然而,这可能是危险的,因为wiki和问题数据也会在这个过程中被删除。
如果您对此有进一步的问题,请在评论中告诉我我可以修改我的答案。
I've assumed maintainership for a given project on github. I've done so by cloning the repository of the original authors and pushing my own changes and developments. This was done in accord with the original authors, so they do not expect to work on this in the future. Nevertheless, my repository is marked as a fork of theirs, which makes it appear less official. Is there some way to denote a given repository as official? To swap the relation between my repository and that of the original developers?
I guess I could delete my repository, then ask the original devs to transfer theirs to mine, then let the original devs fork from that, then push my own changes from my local repo. But somehow this feels wrong. It would rely on my local copy. Migration of e.g. the pages branch might be causing extra trouble. I hope there is a cleaner solution.
There doesn't seem to be a clean way to do this.
It seems your best option is to ask GitHub support to convert your repository to "normal mode" as opposed to "forked from" mode.
Another solution is to delete and recreate the repository. However, this can be dangerous, as the wiki and issues data will also be deleted in this process.
If you have further questions about this then let me know in comments and I can amend my answer.
这篇关于在fork和parent之间切换角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!