Set the branch for the submodule in the configuration
After calling this, you may wish to call git_submodule_sync() to write the changes to the checked out submodule repository.
the repository to affect
the name of the submodule to configure
Branch that should be used for the submodule
0 on success, <0 on failure
See Implementation
Set the branch for the submodule in the configuration
After calling this, you may wish to call git_submodule_sync() to write the changes to the checked out submodule repository.