summaryrefslogtreecommitdiff
path: root/Documentation/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 21:11:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-10 21:11:42 (GMT)
commit99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f (patch)
treeef438c96a3f3f35644fefabf47a14fa10cea907e /Documentation/git-submodule.txt
parent55d607d85b4c22fe2091102ed1eb907ea29b956a (diff)
parent26b061007c1259ed4692554994961dd26874e63e (diff)
downloadgit-99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f.zip
git-99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f.tar.gz
git-99c4ff1bdabc2122a7c6a2b8df87acdd0c2dd18f.tar.bz2
Merge branch 'dl/submodule-set-url'
"git submodule" learned a subcommand "set-url". * dl/submodule-set-url: submodule: teach set-url subcommand
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r--Documentation/git-submodule.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index c3c5222..22425cb 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -16,6 +16,7 @@ SYNOPSIS
'git submodule' [--quiet] deinit [-f|--force] (--all|[--] <path>...)
'git submodule' [--quiet] update [<options>] [--] [<path>...]
'git submodule' [--quiet] set-branch [<options>] [--] <path>
+'git submodule' [--quiet] set-url [--] <path> <newurl>
'git submodule' [--quiet] summary [<options>] [--] [<path>...]
'git submodule' [--quiet] foreach [--recursive] <command>
'git submodule' [--quiet] sync [--recursive] [--] [<path>...]
@@ -184,6 +185,11 @@ set-branch (-d|--default) [--] <path>::
`--default` option removes the submodule.<name>.branch configuration
key, which causes the tracking branch to default to 'master'.
+set-url [--] <path> <newurl>::
+ Sets the URL of the specified submodule to <newurl>. Then, it will
+ automatically synchronize the submodule's new remote URL
+ configuration.
+
summary [--cached|--files] [(-n|--summary-limit) <n>] [commit] [--] [<path>...]::
Show commit summary between the given commit (defaults to HEAD) and
working tree/index. For a submodule in question, a series of commits