summaryrefslogtreecommitdiffstats
path: root/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-04-08 14:50:11 -0700
committerJunio C Hamano <gitster@pobox.com>2021-04-08 14:50:11 -0700
commitddc69f1abb97b2b9dbf0f9c2d4633db30be2a45c (patch)
tree3796dc41a3ac69a7bdff3c6a3cb45b6de2060146 /git-clone.txt
parent69bbb1fb7fc671a26c7c42e3fa07afc365f1bc84 (diff)
downloadgit-htmldocs-ddc69f1abb97b2b9dbf0f9c2d4633db30be2a45c.tar.gz
Autogenerated HTML docs for v2.31.1-272-g89b43f
Diffstat (limited to 'git-clone.txt')
-rw-r--r--git-clone.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-clone.txt b/git-clone.txt
index 02d9c19ce..3fe3810f1 100644
--- a/git-clone.txt
+++ b/git-clone.txt
@@ -15,7 +15,7 @@ SYNOPSIS
[--dissociate] [--separate-git-dir <git dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
- [--[no-]remote-submodules] [--jobs <n>] [--sparse]
+ [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]
[--filter=<filter>] [--] <repository>
[<directory>]
@@ -149,6 +149,11 @@ objects from the source repository into a pack in the cloned repository.
--no-checkout::
No checkout of HEAD is performed after the clone is complete.
+--[no-]reject-shallow::
+ Fail if the source repository is a shallow repository.
+ The 'clone.rejectShallow' configuration variable can be used to
+ specify the default.
+
--bare::
Make a 'bare' Git repository. That is, instead of
creating `<directory>` and placing the administrative