Git mv -- submodule -- recursive
- From
Bart Bogaerts <bartbogaerts@gmail.com>
- Date
- Jun 27, 2016, 06:01 UTC
- Message-ID
- <CAOG-3GJdH5q9fdj+7zdEv-UUZMTAnunZu1PRJYjFNV360r6+sQ@mail.gmail.com>
With a repo structured as follows
main-files
|- submod
|- subsubmodulegit mv submod newlocation
does not do what it is supposed to do. It actually breaks the git repository. It can be fixed easily. A complete description of the bug, including a workaround, can be found on http://stackoverflow.com/q/32782382/2274140
-- Bart Bogaerts