Why doesn’t `git checkout` automatically do `git submodule update –recursive`? [duplicate]
It sounds like what you want to do can be achieved from git v2.13 on with the new –recurse-submodules option of git checkout. From the git-checkout manual page: –[no-]recurse-submodules Using –recurse-submodules will update the content of all initialized submodules according to the commit recorded in the superproject. If local modifications in a submodule would be … Read more