[PATCH] git-submodule.txt: document default behavior
- From
Denton Liu <liu.denton@gmail.com>
- Date
- Feb 12, 2019, 04:03 UTC
- Message-ID
- <0b62f65a8016c41b96aa6caead366e1ed9dda333.1549944164.git.liu.denton@gmail.com>
This patch documents the default behavior of git-submodule if no subcommands are given, similar to how git-remote.txt documents it.
Signed-off-by: Denton Liu <liu.denton@gmail.com> --- Documentation/git-submodule.txt | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index ba3c4df550..9bc98da154 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -28,6 +28,9 @@ For more information about submodules, see linkgit:gitsubmodules[7]. COMMANDS -------- +With no arguments, shows the status of existing submodules. Several +subcommands are available to perform operations on the submodules. + add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]:: Add the given repository as a submodule at the given path to the changeset to be committed next to the current
-- 2.20.1.530.g88cfe87ec3