summaryrefslogtreecommitdiffstats
path: root/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-17 20:24:20 -0700
committerJunio C Hamano <gitster@pobox.com>2019-06-17 20:24:20 -0700
commit73c6486c8d3e366bdaeb636e5d1c0ace9957f9d5 (patch)
treef435ee542a56ac8c0bced59701339b4b9f87a7e2 /git-clone.txt
parent5193787ca4fbec1fbd47afd14701cc8a3799641e (diff)
downloadgit-htmldocs-73c6486c8d3e366bdaeb636e5d1c0ace9957f9d5.tar.gz
Autogenerated HTML docs for v2.22.0-190-ga6a9
Diffstat (limited to 'git-clone.txt')
-rw-r--r--git-clone.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-clone.txt b/git-clone.txt
index a0f14b51f..5fc97f14d 100644
--- a/git-clone.txt
+++ b/git-clone.txt
@@ -15,7 +15,8 @@ SYNOPSIS
[--dissociate] [--separate-git-dir <git dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
- [--jobs <n>] [--] <repository> [<directory>]
+ [--[no-]remote-submodules] [--jobs <n>] [--] <repository>
+ [<directory>]
DESCRIPTION
-----------
@@ -260,6 +261,12 @@ or `--mirror` is given)
--[no-]shallow-submodules::
All submodules which are cloned will be shallow with a depth of 1.
+--[no-]remote-submodules::
+ All submodules which are cloned will use the status of the submodule’s
+ remote-tracking branch to update the submodule, rather than the
+ superproject’s recorded SHA-1. Equivalent to passing `--remote` to
+ `git submodule update`.
+
--separate-git-dir=<git dir>::
Instead of placing the cloned repository where it is supposed
to be, place the cloned repository at the specified directory,