Here\'s part of the contents of my .gitmodules file:
[submodule \"src/static_management\"]
path = src/static_management
url = gi
Had the same issue, when git ignored init and update commands, and does nothing.
HOW TO FIX
If that requirements met, it will work. Otherwise, all commands will execute without any messages and result.
If you did all that, and it still doesn't work:
git submodule add git@... path/togit submodule initgit submodule update.gitmodules and your module folder (note, that content of folder will not commit).git/config doesn't have any submodules yetgit submodule init - and you will see a message that module registeredgit submodule update - will fetch module.git/config and you will find registered submodule