Skip to content

Commit

Permalink
doc: apply synopsis simplification on git-clone and git-init
Browse files Browse the repository at this point in the history
With the new synopsis formatting backend, no special asciidoc markup
is needed.

Signed-off-by: Jean-Noël Avila <[email protected]>
  • Loading branch information
jnavila committed Jul 23, 2024
1 parent 845923a commit 1909591
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ git-clone - Clone a repository into a new directory

SYNOPSIS
--------
[verse]
`git clone` [++--template=++__<template-directory>__]
[`-l`] [`-s`] [`--no-hardlinks`] [`-q`] [`-n`] [`--bare`] [`--mirror`]
[`-o` _<name>_] [`-b` _<name>_] [`-u` _<upload-pack>_] [`--reference` _<repository>_]
[`--dissociate`] [`--separate-git-dir` _<git-dir>_]
[`--depth` _<depth>_] [`--`[`no-`]`single-branch`] [`--no-tags`]
[++--recurse-submodules++[++=++__<pathspec>__]] [`--`[`no-`]`shallow-submodules`]
[`--`[`no-`]`remote-submodules`] [`--jobs` _<n>_] [`--sparse`] [`--`[`no-`]`reject-shallow`]
[++--filter=++__<filter-spec>__] [`--also-filter-submodules`]] [`--`] _<repository>_
[__<directory>__]
[synopsis]
git clone [--template=<template-directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--dissociate] [--separate-git-dir <git-dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
[--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]
[--filter=<filter-spec>] [--also-filter-submodules]] [--] <repository>
[<directory>]

DESCRIPTION
-----------
Expand Down
12 changes: 6 additions & 6 deletions Documentation/git-init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ git-init - Create an empty Git repository or reinitialize an existing one

SYNOPSIS
--------
[verse]
`git init` [`-q` | `--quiet`] [`--bare`] [++--template=++__<template-directory>__]
[`--separate-git-dir` _<git-dir>_] [++--object-format=++__<format>__]
[++--ref-format=++__<format>__]
[`-b` _<branch-name>_ | ++--initial-branch=++__<branch-name>__]
[`--shared`[++=++__<permissions>__]] [__<directory>__]
[synopsis]
git init [-q | --quiet] [--bare] [--template=<template-directory>]
[--separate-git-dir <git-dir>] [--object-format=<format>]
[--ref-format=<format>]
[-b <branch-name> | --initial-branch=<branch-name>]
[--shared[=<permissions>]] [<directory>]


DESCRIPTION
Expand Down

0 comments on commit 1909591

Please sign in to comment.