How should I set up a git submodule to prevent a detached head?
When I check out my project, it has a submodule and the submodule also has a submodule. Now I want someone else to be able to checkout the root and just build without errors, but because of the detached head - lots of source doesn't get checked out and the build fails.
So the main project checks out fine, the submodule is detached, which then means the sub-sub module doesn't get checked out!
Any help please?