diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-08-11 08:30:16 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-08-11 08:30:16 +0000 |
commit | b1d6e88a14fb2324372c693e784b4ce6d3b3a157 (patch) | |
tree | aea84f70428e5fa8ddf6aebd553208b5f3a47eb7 /git-clone.txt | |
parent | b515b6a4d0d6c3d14be2f83e9a971495d1f16b30 (diff) | |
download | git-htmldocs-b1d6e88a14fb2324372c693e784b4ce6d3b3a157.tar.gz |
Autogenerated HTML docs for v1.5.3-rc4-67-gf9286
Diffstat (limited to 'git-clone.txt')
-rw-r--r-- | git-clone.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/git-clone.txt b/git-clone.txt index a0a10e3e2..227f092e2 100644 --- a/git-clone.txt +++ b/git-clone.txt @@ -9,7 +9,8 @@ git-clone - Clone a repository into a new directory SYNOPSIS -------- [verse] -'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare] +'git-clone' [--template=<template_directory>] + [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [-o <name>] [-u <upload-pack>] [--reference <repository>] [--depth <depth>] <repository> [<directory>] @@ -40,8 +41,19 @@ OPTIONS this flag bypasses normal "git aware" transport mechanism and clones the repository by making a copy of HEAD and everything under objects and refs directories. - The files under .git/objects/ directory are hardlinked - to save space when possible. + The files under `.git/objects/` directory are hardlinked + to save space when possible. This is now the default when + the source repository is specified with `/path/to/repo` + syntax, so it essentially is a no-op option. To force + copying instead of hardlinking (which may be desirable + if you are trying to make a back-up of your repository), + but still avoid the usual "git aware" transport + mechanism, `--no-hardlinks` can be used. + +--no-hardlinks:: + Optimize the cloning process from a repository on a + local filesystem by copying files under `.git/objects` + directory. --shared:: -s:: |