diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-07 02:32:56 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-07 02:32:56 (GMT) |
commit | 7f17913161ef06fb983f02fae02fc580863cd605 (patch) | |
tree | 2cbacf33012efd924f04df32831b7edd2bf0169d /Documentation/git-submodule.txt | |
parent | cb3ec6f4efece2c8ed3bd443f0450e2a33b27ac5 (diff) | |
parent | 40e747e89d247b3a12e6cddf848d145bf403a72c (diff) | |
download | git-7f17913161ef06fb983f02fae02fc580863cd605.zip git-7f17913161ef06fb983f02fae02fc580863cd605.tar.gz git-7f17913161ef06fb983f02fae02fc580863cd605.tar.bz2 |
Merge branch 'dl/submodule-set-branch'
Docfix.
* dl/submodule-set-branch:
git-submodule.txt: fix AsciiDoc formatting error
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r-- | Documentation/git-submodule.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 0ed5c24..1f46380 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -173,7 +173,8 @@ submodule with the `--init` option. If `--recursive` is specified, this command will recurse into the registered submodules, and update any nested submodules within. -- -set-branch ((-d|--default)|(-b|--branch <branch>)) [--] <path>:: +set-branch (-b|--branch) <branch> [--] <path>:: +set-branch (-d|--default) [--] <path>:: Sets the default remote tracking branch for the submodule. The `--branch` option allows the remote branch to be specified. The `--default` option removes the submodule.<name>.branch configuration |