Document git-clone --use-separate-remote
Signed-off-by: Uwe Zeisberger <uzeisberger@io.fsforth.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Uwe Zeisberger committed
Jun 8, 2006 at 08:50 UTC
fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0
1 file changed
+8
-3
Documentation/git-clone.txt
+8
-3
@@ -11,7 +11,7 @@ SYNOPSIS
11
[verse]
12
'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]
13
[-o <name>] [-u <upload-pack>] [--reference <repository>]
14
- <repository> [<directory>]
14
+ [--use-separate-remote] <repository> [<directory>]
15
16
DESCRIPTION
17
-----------
@@ -73,7 +73,7 @@ OPTIONS
73
files in `<directory>/.git`, make the `<directory>`
74
itself the `$GIT_DIR`. This implies `-n` option. When
75
this option is used, neither the `origin` branch nor the
76
- default `remotes/origin` file is created.
76
+ default `remotes/origin` file is created.
77
78
-o <name>::
79
Instead of using the branch name 'origin' to keep track
@@ -94,12 +94,17 @@ OPTIONS
94
if unset the templates are taken from the installation
95
defined default, typically `/usr/share/git-core/templates`.
96
97
+--use-separate-remote::
98
+ Save remotes heads under `$GIT_DIR/remotes/origin/' instead
99
+ of `$GIT_DIR/refs/heads/'. Only the master branch is saved
100
+ in the latter.
101
+
102
<repository>::
103
The (possibly remote) repository to clone from. It can
104
be any URL git-fetch supports.
105
106
<directory>::
102
- The name of a new directory to clone into. The "humanish"
107
+ The name of a new directory to clone into. The "humanish"
108
part of the source repository is used if no directory is
109
explicitly given ("repo" for "/path/to/repo.git" and "foo"
110
for "host.xz:foo/.git"). Cloning into an existing directory