aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-12-29 08:27:09 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-02 09:24:48 -0800
commit5ed860f51b7fa1ca1087c1b0502b199a86db964e (patch)
treecefe14b8afb2b271b9c2fce10b0a73fd5b0c818e /Documentation/git-clone.txt
parent48fa45f5fb80de821a380a7ff81ab2c568d69e35 (diff)
downloadgit-5ed860f51b7fa1ca1087c1b0502b199a86db964e.tar.gz
builtin/clone: introduce `--ref-format=` value flag
Introduce a new `--ref-format` value flag for git-clone(1) that allows the user to specify the ref format that is to be used for a newly initialized repository. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r--Documentation/git-clone.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index c37c4a37f7..6e43eb9c20 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -311,6 +311,12 @@ or `--mirror` is given)
The result is Git repository can be separated from working
tree.
+--ref-format=<ref-format::
+
+Specify the given ref storage format for the repository. The valid values are:
++
+include::ref-storage-format.txt[]
+
-j <n>::
--jobs <n>::
The number of submodules fetched at the same time.