Git Repositories and History Hijinks

你离开我真会死。 提交于 2019-12-11 20:39:22

问题


     Suppose one was trying to merge together a bunch of different GitHub repositories with certain properties. Namely, most of these repositories have contents that are copies of various tarballs mirroring various historic states of an external, read-only repository's working tree.
     However, one of the repositories in question only contains the contents of a folder from inside that working tree. Considering that all of the other repositories share a lot of tarball-dumping commits that updated their contents, could one create a new repository and set it up so that all of the other repositories, even the errant one, end up as forks of it?
     If that is possible, then could the new repository preserve all of the history from the reverse-merged repositories? Even then, though, how would one go about doing such an operation?

来源:https://stackoverflow.com/questions/26683569/git-repositories-and-history-hijinks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!