On Tue, Feb 12, 2019 at 11:04 AM Denton Liu <liu.denton@xxxxxxxxx> wrote: > > 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@xxxxxxxxx> > --- > 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 Maybe just "The default command is 'status'" and let the user read that subcommand for more info. > +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 > -- Duy