@@ -102,9 +102,9 @@ its source repository, you can simply run `git repack -a` to copy all
102
102
objects from the source repository into a pack in the cloned repository.
103
103
104
104
--reference[-if-able] <repository>::
105
- If the reference repository is on the local machine,
105
+ If the reference _< repository>_ is on the local machine,
106
106
automatically setup `.git/objects/info/alternates` to
107
- obtain objects from the reference repository. Using
107
+ obtain objects from the reference _< repository>_ . Using
108
108
an already existing repository as an alternate will
109
109
require fewer objects to be copied from the repository
110
110
being cloned, reducing network and local storage costs.
@@ -161,8 +161,8 @@ objects from the source repository into a pack in the cloned repository.
161
161
162
162
--bare::
163
163
Make a 'bare' Git repository. That is, instead of
164
- creating ` <directory>` and placing the administrative
165
- files in `<directory>/.git`, make the ` <directory>`
164
+ creating _ <directory>_ and placing the administrative
165
+ files in `<directory>/.git`, make the _ <directory>_
166
166
itself the `$GIT_DIR`. This obviously implies the `--no-checkout`
167
167
because there is nowhere to check out the working tree.
168
168
Also the branch heads at the remote are copied directly
@@ -180,11 +180,11 @@ objects from the source repository into a pack in the cloned repository.
180
180
--filter=<filter-spec>::
181
181
Use the partial clone feature and request that the server sends
182
182
a subset of reachable objects according to a given object filter.
183
- When using `--filter`, the supplied ` <filter-spec>` is used for
183
+ When using `--filter`, the supplied _ <filter-spec>_ is used for
184
184
the partial clone filter. For example, `--filter=blob:none` will
185
185
filter out all blobs (file contents) until needed by Git. Also,
186
186
`--filter=blob:limit=<size>` will filter out all blobs of size
187
- at least ` <size>` . For more details on filter specifications, see
187
+ at least _ <size>_ . For more details on filter specifications, see
188
188
the `--filter` option in linkgit:git-rev-list[1].
189
189
190
190
--also-filter-submodules::
@@ -203,13 +203,13 @@ objects from the source repository into a pack in the cloned repository.
203
203
-o <name>::
204
204
--origin <name>::
205
205
Instead of using the remote name `origin` to keep track of the upstream
206
- repository, use ` <name>` . Overrides `clone.defaultRemoteName` from the
206
+ repository, use _ <name>_ . Overrides `clone.defaultRemoteName` from the
207
207
config.
208
208
209
209
-b <name>::
210
210
--branch <name>::
211
211
Instead of pointing the newly created HEAD to the branch pointed
212
- to by the cloned repository's HEAD, point to ` <name>` branch
212
+ to by the cloned repository's HEAD, point to _ <name>_ branch
213
213
instead. In a non-bare repository, this is the branch that will
214
214
be checked out.
215
215
`--branch` can also take tags and detaches the HEAD at that commit
@@ -230,7 +230,7 @@ objects from the source repository into a pack in the cloned repository.
230
230
Set a configuration variable in the newly-created repository;
231
231
this takes effect immediately after the repository is
232
232
initialized, but before the remote history is fetched or any
233
- files checked out. The key is in the same format as expected by
233
+ files checked out. The _< key>_ is in the same format as expected by
234
234
linkgit:git-config[1] (e.g., `core.eol=true`). If multiple
235
235
values are given for the same key, each value will be written to
236
236
the config file. This makes it safe, for example, to add
@@ -281,7 +281,7 @@ branch of some repository for search indexing.
281
281
282
282
--recurse-submodules[=<pathspec>]::
283
283
After the clone is created, initialize and clone submodules
284
- within based on the provided pathspec. If no pathspec is
284
+ within based on the provided _< pathspec>_ . If no _=< pathspec>_ is
285
285
provided, all submodules are initialized and cloned.
286
286
This option can be given multiple times for pathspecs consisting
287
287
of multiple entries. The resulting clone has `submodule.active` set to
@@ -323,20 +323,20 @@ include::ref-storage-format.txt[]
323
323
Defaults to the `submodule.fetchJobs` option.
324
324
325
325
<repository>::
326
- The (possibly remote) repository to clone from. See the
326
+ The (possibly remote) _< repository>_ to clone from. See the
327
327
<<URLS,GIT URLS>> section below for more information on specifying
328
328
repositories.
329
329
330
330
<directory>::
331
331
The name of a new directory to clone into. The "humanish"
332
- part of the source repository is used if no directory is
332
+ part of the source repository is used if no _< directory>_ is
333
333
explicitly given (`repo` for `/path/to/repo.git` and `foo`
334
334
for `host.xz:foo/.git`). Cloning into an existing directory
335
335
is only allowed if the directory is empty.
336
336
337
337
--bundle-uri=<uri>::
338
338
Before fetching from the remote, fetch a bundle from the given
339
- ` <uri>` and unbundle the data into the local repository. The refs
339
+ _ <uri>_ and unbundle the data into the local repository. The refs
340
340
in the bundle will be stored under the hidden `refs/bundle/*`
341
341
namespace. This option is incompatible with `--depth`,
342
342
`--shallow-since`, and `--shallow-exclude`.
0 commit comments