summaryrefslogtreecommitdiffstats
path: root/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-07-19 20:02:13 +0000
committerJunio C Hamano <junio@kernel.org>2011-07-19 20:02:13 +0000
commit708376e8576f6d39b62b27ee9dfe7292c652f728 (patch)
treef0eaf132b1e3eac00257e9b51bbfc58285e261a3 /git-clone.txt
parent360e3a1e2a1605a257fceaa3f9a5cd99ce19f0f6 (diff)
downloadgit-htmldocs-708376e8576f6d39b62b27ee9dfe7292c652f728.tar.gz
Autogenerated HTML docs for v1.7.6-233-gd79bc
Diffstat (limited to 'git-clone.txt')
-rw-r--r--git-clone.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/git-clone.txt b/git-clone.txt
index b093e4549..4b8b26b75 100644
--- a/git-clone.txt
+++ b/git-clone.txt
@@ -159,6 +159,17 @@ objects from the source repository into a pack in the cloned repository.
Specify the directory from which templates will be used;
(See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)
+--config <key>=<value>::
+-c <key>=<value>::
+ Set a configuration variable in the newly-created repository;
+ this takes effect immediately after the repository is
+ initialized, but before the remote history is fetched or any
+ files checked out. The key is in the same format as expected by
+ linkgit:git-config[1] (e.g., `core.eol=true`). If multiple
+ values are given for the same key, each value will be written to
+ the config file. This makes it safe, for example, to add
+ additional fetch refspecs to the origin remote.
+
--depth <depth>::
Create a 'shallow' clone with a history truncated to the
specified number of revisions. A shallow repository has a