I am new to the submodule feature of git and at the moment I am struggling with the .gitmodules configuration. What I want is to initialize the submodule and checkout to the develop branch and not to the head.
My .gitmodules looks like the following:
[submodule "test-submodule"]
path = test-submodule
url = https://...
update = checkout develop
When I run
git submodule init
I get the following error: fatal: invalid value for submodule.test-submodule.update
Any help is welcome.