summaryrefslogtreecommitdiff
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2015-10-22 18:41:17 +0200
committerJunio C Hamano <gitster@pobox.com>2015-10-22 12:13:29 -0700
commit0181681e921fa4e001a51886749ee0584233db51 (patch)
treea57631f96bb7748d5f86a0602a93ddfc5ee4a8de /Documentation/git-clone.txt
parent74301d6edeb0e081a4ef864057952b6a7ff2b4be (diff)
downloadgit-0181681e921fa4e001a51886749ee0584233db51.tar.gz
clone: allow "--dissociate" without referencear/clone-dissociate
The "--reference" option is not the only way to provide a repository to borrow objects from. A repository that borrows from another repository can be cloned with "clone --local" and the resulting repository will borrow from the same repository, which the user may want to "--dissociate" from. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r--Documentation/git-clone.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index f1f2a3f7ea..6bf000dac3 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -104,8 +104,13 @@ objects from the source repository into a pack in the cloned repository.
--dissociate::
Borrow the objects from reference repositories specified
with the `--reference` options only to reduce network
- transfer and stop borrowing from them after a clone is made
- by making necessary local copies of borrowed objects.
+ transfer, and stop borrowing from them after a clone is made
+ by making necessary local copies of borrowed objects. This
+ option can also be used when cloning locally from a
+ repository that already borrows objects from another
+ repository--the new repository will borrow objects from the
+ same repository, and this option can be used to stop the
+ borrowing.
--quiet::
-q::