Re: Merging submodules
From: Santi Béjar <hidden>
Date: 2016-06-15 22:45:05
On Fri, Aug 1, 2008 at 12:35, H.Merijn Brand [off-list ref] wrote:
After we join/merge these into the super-project, we're going to remove the sup-repos, so all new commits will be made in the super-repo.
If you'll remove the subrepos, the best thing would be to rewrite the history on those subrepos just moving all the path to the corresponding subfolder (with git-filter-branch, and you have exactly what you need at the end of the example section in the manpage). And then just do a normal merge. Or, even, you could try to create a project with everything there in the correct order and location, I don't know if git-filter-branch or git-fast-import/export (you have some examples in git.git in contrib/fast-import) can do it, but if you get it, please, post it here because it can be useful for others). Santi