Our small software store recently moved from Subversion to Git, as we programmers found Git better. Migration was not painless, there were problems with the function of submodules. My main problem is that when the repo contains submodules, you cannot just clone it and expect the work to work. You must take an extra step to initialize and load the submodules. Subsequent extrusions should automatically update the submodules , so this is OK. But when I add a new submodule, press commit and people pull, they do not receive the new submodule automatically, they must again git submodule update manually.
This is stupid, because people cannot just pull out the repo using submodules and expect it to be built. Is this understanding correct? Programmers can simply write a script or an alias to update submodules after receiving new commits, but for our non-programmers, submodules are a pain. Id would like to come up with a solution that will make the repo always work right after cloning / pulling, regardless of the Git client used.
What are my options?
source share