doc: finalize git-clone documentation conversion to synopsis style

Use backticks where appropriate for command-line options Reviewed-by: Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jean-Noël Avila committed Feb 6, 2026 at 04:12 UTC 4f29c685348d767b335c00fe84d01ea6e7d20d38
1 file changed +11 -11
Documentation/git-clone.adoc
+11 -11
@@ -152,7 +152,7 @@ objects from the source repository into a pack in the cloned repository.
152 unknown ones, is server-specific.
153 When multiple `--server-option=<option>` are given, they are all
154 sent to the other side in the order listed on the command line.
155 - When no ++--server-option=++__<option>__ is given from the command
155 + When no `--server-option=<option>` is given from the command
156 line, the values of configuration variable `remote.<name>.serverOption`
157 are used instead.
158
@@ -206,14 +206,14 @@ objects from the source repository into a pack in the cloned repository.
206 that all these refs are overwritten by a `git remote update` in the
207 target repository.
208
209 -`-o` _<name>_::
210 -`--origin` _<name>_::
209 +`-o <name>`::
210 +`--origin <name>`::
211 Instead of using the remote name `origin` to keep track of the upstream
212 repository, use _<name>_. Overrides `clone.defaultRemoteName` from the
213 config.
214
215 -`-b` _<name>_::
216 -`--branch` _<name>_::
215 +`-b <name>`::
216 +`--branch <name>`::
217 Instead of pointing the newly created `HEAD` to the branch pointed
218 to by the cloned repository's `HEAD`, point to _<name>_ branch
219 instead. In a non-bare repository, this is the branch that will
@@ -230,8 +230,8 @@ objects from the source repository into a pack in the cloned repository.
230 name.
231 This option is incompatible with `--branch` and `--mirror`.
232
233 -`-u` _<upload-pack>_::
234 -`--upload-pack` _<upload-pack>_::
233 +`-u <upload-pack>`::
234 +`--upload-pack <upload-pack>`::
235 When given, and the repository to clone from is accessed
236 via ssh, this specifies a non-default path for the command
237 run on the other end.
@@ -240,8 +240,8 @@ objects from the source repository into a pack in the cloned repository.
240 Specify the directory from which templates will be used;
241 (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)
242
243 -`-c` `<key>=<value>`::
244 -`--config` `<key>=<value>`::
243 +`-c <key>=<value>`::
244 +`--config <key>=<value>`::
245 Set a configuration variable in the newly-created repository;
246 this takes effect immediately after the repository is
247 initialized, but before the remote history is fetched or any
@@ -339,8 +339,8 @@ Specify the given ref storage format for the repository. The valid values are:
339 +
340 include::ref-storage-format.adoc[]
341
342 -`-j` _<n>_::
343 -`--jobs` _<n>_::
342 +`-j <n>`::
343 +`--jobs <n>`::
344 The number of submodules fetched at the same time.
345 Defaults to the `submodule.fetchJobs` option.
346