doc: submodule.* config are keyed by submodule names
[gitweb.git] / Documentation / config.txt
index e70216dfe6c2deb35f5f90e2ca4d5b674ffb719a..3a44fd78ab601e452c04b080fd7c857660119e86 100644 (file)
@@ -1994,6 +1994,12 @@ submodule.<name>.update::
        URL and other values found in the `.gitmodules` file.  See
        linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
 
+submodule.<name>.branch::
+       The remote branch name for a submodule, used by `git submodule
+       update --remote`.  Set this option to override the value found in
+       the `.gitmodules` file.  See linkgit:git-submodule[1] and
+       linkgit:gitmodules[5] for details.
+
 submodule.<name>.fetchRecurseSubmodules::
        This option can be used to control recursive fetching of this
        submodule. It can be overridden by using the --[no-]recurse-submodules