'For a git submodule, which commit will be cloned if no version is specified in .gitmodules?

Does git follow a certain set of rules when the .gitmodules file only specifies path and url for a submodule?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source