It is easy to clone an entire project plus all its submodules:
git clone --recursive git@github.com:homer/powerplant.git
However, how do I create a clone that has all these submodules replaced by the HEADs of the individual sub-repositories themselves? Preferably in such a way that this can be repeated easy, as soon as something changes. The target should be a read-only "flat" version of the same overall code. No merging should be necessary.
If this is possible, it would solve my Launchpad problems where bzr
can import only repositories without submodules.