@@ -9,20 +9,20 @@ git-config - Get and set repository or global options
9
9
SYNOPSIS
10
10
--------
11
11
[verse]
12
- 'git config' [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [ value [ value-pattern]]
13
- 'git config' [<file-option>] [--type=<type>] --add name value
14
- 'git config' [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [ value-pattern]
15
- 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [ value-pattern]
16
- 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [ value-pattern]
17
- 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [ value-pattern]
18
- 'git config' [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL
19
- 'git config' [<file-option>] [--fixed-value] --unset name [ value-pattern]
20
- 'git config' [<file-option>] [--fixed-value] --unset-all name [ value-pattern]
21
- 'git config' [<file-option>] --rename-section old_name new_name
22
- 'git config' [<file-option>] --remove-section name
12
+ 'git config' [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] < name> [< value> [< value-pattern> ]]
13
+ 'git config' [<file-option>] [--type=<type>] --add < name> < value>
14
+ 'git config' [<file-option>] [--type=<type>] [--fixed-value] --replace-all < name> < value> [< value-pattern> ]
15
+ 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get < name> [< value-pattern> ]
16
+ 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all < name> [< value-pattern> ]
17
+ 'git config' [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [< value-pattern> ]
18
+ 'git config' [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch < name> < URL>
19
+ 'git config' [<file-option>] [--fixed-value] --unset < name> [< value-pattern> ]
20
+ 'git config' [<file-option>] [--fixed-value] --unset-all < name> [< value-pattern> ]
21
+ 'git config' [<file-option>] --rename-section <old-name> <new-name>
22
+ 'git config' [<file-option>] --remove-section < name>
23
23
'git config' [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list
24
- 'git config' [<file-option>] --get-color name [ default]
25
- 'git config' [<file-option>] --get-colorbool name [ stdout-is-tty]
24
+ 'git config' [<file-option>] --get-color < name> [< default> ]
25
+ 'git config' [<file-option>] --get-colorbool < name> [< stdout-is-tty> ]
26
26
'git config' [<file-option>] -e | --edit
27
27
28
28
DESCRIPTION
@@ -102,9 +102,9 @@ OPTIONS
102
102
in which section and variable names are lowercased, but subsection
103
103
names are not.
104
104
105
- --get-urlmatch name URL::
105
+ --get-urlmatch < name> < URL> ::
106
106
When given a two-part name section.key, the value for
107
- section.<url >.key whose <url > part matches the best to the
107
+ section.<URL >.key whose <URL > part matches the best to the
108
108
given URL is returned (if no such key exists, the value for
109
109
section.key is used as a fallback). When given just the
110
110
section as name, do so for all the keys in the section and
@@ -145,8 +145,8 @@ See also <<FILES>>.
145
145
read from or written to if `extensions.worktreeConfig` is
146
146
present. If not it's the same as `--local`.
147
147
148
- -f config-file::
149
- --file config-file::
148
+ -f < config-file> ::
149
+ --file < config-file> ::
150
150
For writing options: write to the specified file rather than the
151
151
repository `.git/config`.
152
152
+
@@ -155,7 +155,7 @@ available files.
155
155
+
156
156
See also <<FILES>>.
157
157
158
- --blob blob::
158
+ --blob < blob> ::
159
159
Similar to `--file` but use the given blob instead of a file. E.g.
160
160
you can use 'master:.gitmodules' to read values from the file
161
161
'.gitmodules' in the master branch. See "SPECIFYING REVISIONS"
@@ -246,18 +246,18 @@ Valid `<type>`'s include:
246
246
all queried config options with the scope of that value
247
247
(local, global, system, command).
248
248
249
- --get-colorbool name [ stdout-is-tty]::
249
+ --get-colorbool < name> [< stdout-is-tty> ]::
250
250
251
- Find the color setting for `name` (e.g. `color.diff`) and output
252
- "true" or "false". `stdout-is-tty` should be either "true" or
251
+ Find the color setting for `< name> ` (e.g. `color.diff`) and output
252
+ "true" or "false". `< stdout-is-tty> ` should be either "true" or
253
253
"false", and is taken into account when configuration says
254
- "auto". If `stdout-is-tty` is missing, then checks the standard
254
+ "auto". If `< stdout-is-tty> ` is missing, then checks the standard
255
255
output of the command itself, and exits with status 0 if color
256
256
is to be used, or exits with status 1 otherwise.
257
257
When the color setting for `name` is undefined, the command uses
258
258
`color.ui` as fallback.
259
259
260
- --get-color name [ default]::
260
+ --get-color < name> [< default> ]::
261
261
262
262
Find the color configured for `name` (e.g. `color.diff.new`) and
263
263
output it as the ANSI color escape sequence to the standard
0 commit comments