summaryrefslogtreecommitdiffstats
path: root/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-10-07 00:01:24 +0000
committerJunio C Hamano <junio@kernel.org>2010-10-07 00:01:24 +0000
commit657fd8a8dd93c9d5c7534016aa6601c564fe2601 (patch)
tree634630bc99c2a4c8de534924544ac14d34b473ca /git-clone.txt
parent0fd857e5bc36d9b8c88686a602c4ae253607487b (diff)
downloadgit-htmldocs-657fd8a8dd93c9d5c7534016aa6601c564fe2601.tar.gz
Autogenerated HTML docs for v1.7.3.1-104-gc752e
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 dc7d3d17b..ab7293351 100644
--- a/git-clone.txt
+++ b/git-clone.txt
@@ -128,7 +128,12 @@ objects from the source repository into a pack in the cloned repository.
configuration variables are created.
--mirror::
- Set up a mirror of the remote repository. This implies `--bare`.
+ Set up a mirror of the source repository. This implies `--bare`.
+ Compared to `--bare`, `--mirror` not only maps local branches of the
+ source to local branches of the target, it maps all refs (including
+ remote branches, notes etc.) and sets up a refspec configuration such
+ that all these refs are overwritten by a `git remote update` in the
+ target repository.
--origin <name>::
-o <name>::