I have a git repository with several submodules which i would like to convert into one single repository containing all the history. Is this possible?
The closest solution I've found is to merge the submodules into the parent repo as described in these questions:
un-submodule a git submodule
Git merge submodule into parent tree cleanly and preserving commit history
But as far as I understand this does not change the history of the parent repository.
Note that this repository is not public and thus I have no problem with changing the history.