3 ms·
From the git-scm book: "The other main caveat that many people run into involves switching from subdirectories to submodules. If you’ve been tracking files in
by datadrivenangel 2y ago
From the git-scm book:
"The other main caveat that many people run into involves switching from subdirectories to submodules. If you’ve been tracking files in your project and you want to move them out into a submodule, you must be careful or Git will get angry at you. "
Though apparently newer versions of git are better about not losing submodule branches, so my concerns were outdated.