summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9d7241)
raw | patch | inline | side by side (parent: f9d7241)
author | Eric W. Biederman <ebiederm@xmission.com> | |
Sun, 2 Oct 2005 19:42:57 +0000 (13:42 -0600) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Oct 2005 23:06:08 +0000 (16:06 -0700) |
The documentation for git-clone is behind the actual command.
I have been getting tired of reading the shell script to see
what the arguments are so here is an update of the actual documentation.
Signed-off-by: Eric Biederman <ebiederman@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
I have been getting tired of reading the shell script to see
what the arguments are so here is an update of the actual documentation.
Signed-off-by: Eric Biederman <ebiederman@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-clone.txt | patch | blob | history |
index bd53ef430dd83adc8f0940fe130ced3fe1693ab0..7d713c73858e1c786d61ec1359241c658ef012b4 100644 (file)
SYNOPSIS
--------
-'git clone' [-l] [-u <upload-pack>] [-q] <repository> <directory>
+'git clone' [-l [-s]] [-q] [-n] [-u <upload-pack>] <repository> <directory>
DESCRIPTION
-----------
OPTIONS
-------
+--local::
-l::
When the repository to clone from is on a local machine,
this flag bypasses normal "git aware" transport
The files under .git/objects/ directory are hardlinked
to save space when possible.
+--shared::
+-s::
+ When the repository to clone is on the local machine,
+ instead of using hard links automatically setup
+ .git/objects/info/alternatives to share the objects
+ with the source repository
+
+--quiet::
-q::
Operate quietly. This flag is passed to "rsync" and
"git-clone-pack" commands when given.
+-n::
+ No checkout of HEAD is performed after the clone is complete.
+
+--upload-pack <upload-pack>::
-u <upload-pack>::
When given, and the repository to clone from is handled
by 'git-clone-pack', '--exec=<upload-pack>' is passed to