projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GIT 0.99.9c
[git.git]
/
Documentation
/
git-clone.txt
diff --git
a/Documentation/git-clone.txt
b/Documentation/git-clone.txt
index
bd53ef4
..
dd92cde
100644
(file)
--- a/
Documentation/git-clone.txt
+++ b/
Documentation/git-clone.txt
@@
-1,6
+1,5
@@
git-clone(1)
============
git-clone(1)
============
-v0.1, July 2005
NAME
----
NAME
----
@@
-9,7
+8,7
@@
git-clone - Clones a repository.
SYNOPSIS
--------
SYNOPSIS
--------
-'git
clone' [-l] [-u <upload-pack>] [-q
] <repository> <directory>
+'git
-clone' [-l [-s]] [-q] [-n] [-u <upload-pack>
] <repository> <directory>
DESCRIPTION
-----------
DESCRIPTION
-----------
@@
-17,6
+16,7
@@
Clones a repository into a newly created directory.
OPTIONS
-------
OPTIONS
-------
+--local::
-l::
When the repository to clone from is on a local machine,
this flag bypasses normal "git aware" transport
-l::
When the repository to clone from is on a local machine,
this flag bypasses normal "git aware" transport
@@
-25,10
+25,22
@@
OPTIONS
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.
+--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.
-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
-u <upload-pack>::
When given, and the repository to clone from is handled
by 'git-clone-pack', '--exec=<upload-pack>' is passed to