25
The file consists of sections and variables. A section begins with
26
the name of the section in square brackets and continues until the next
27
section begins. Section names are not case sensitive. Only alphanumeric
28
-characters, '`-`' and '`.`' are allowed in section names. Each variable
28
+characters, `-` and `.` are allowed in section names. Each variable
29
must belong to some section, which means that there must be section
30
header before first setting of a variable.
31
39
--------
40
41
Subsection names can contain any characters except newline (doublequote
42
-'`"`' and backslash have to be escaped as '`\"`' and '`\\`',
42
+`"` and backslash have to be escaped as `\"` and `\\`,
43
respectively) and are case sensitive. Section header cannot span multiple
44
lines. Variables may belong directly to a section or to a given subsection.
45
You can have `[section]` if you have `[section "subsection"]`, but you
53
'name = value'. If there is no equal sign on the line, the entire line
54
is taken as 'name' and the variable is recognized as boolean "true".
55
The variable names are case-insensitive and only alphanumeric
56
-characters and '`-`' are allowed. There can be more than one value
56
+characters and `-` are allowed. There can be more than one value
57
for a given variable; we say then that variable is multivalued.
58
59
Leading and trailing whitespace in a variable value is discarded.
69
You need to enclose variable value in double quotes if you want to
70
preserve leading or trailing whitespace, or if variable value contains
71
beginning of comment characters (if it contains '#' or ';').
72
-Double quote '`"`' and backslash '`\`' characters in variable value must
73
-be escaped: use '`\"`' for '`"`' and '`\\`' for '`\`'.
72
+Double quote `"` and backslash `\` characters in variable value must
73
+be escaped: use `\"` for `"` and `\\` for `\`.
74
75
-The following escape sequences (beside '`\"`' and '`\\`') are recognized:
76
-'`\n`' for newline character (NL), '`\t`' for horizontal tabulation (HT, TAB)
77
-and '`\b`' for backspace (BS). No other char escape sequence, nor octal
75
+The following escape sequences (beside `\"` and `\\`) are recognized:
76
+`\n` for newline character (NL), `\t` for horizontal tabulation (HT, TAB)
77
+and `\b` for backspace (BS). No other char escape sequence, nor octal
78
char sequences are valid.
79
80
-Variable value ending in a '`\`' is continued on the next line in the
80
+Variable value ending in a `\` is continued on the next line in the
81
customary UNIX fashion.
82
83
Some variables may require special value format.
382
to override git's default settings this way, you need
383
to be explicit. For example, to disable the S option
384
in a backward compatible manner, set `core.pager`
385
- to "`less -+$LESS -FRX`". This will be passed to the
385
+ to `less -+$LESS -FRX`. This will be passed to the
386
shell by git, which will translate the final command to
387
- "`LESS=FRSX less -+FRSX -FRX`".
387
+ `LESS=FRSX less -+FRSX -FRX`.
388
389
core.whitespace::
390
A comma separated list of common whitespace problems to
1161
particular git subcommand when writing to a tty. If
1162
`\--paginate` or `\--no-pager` is specified on the command line,
1163
it takes precedence over this option. To disable pagination for
1164
- all commands, set `core.pager` or 'GIT_PAGER' to "`cat`".
1164
+ all commands, set `core.pager` or `GIT_PAGER` to `cat`.
1165
1166
pull.octopus::
1167
The default merge strategy to use when pulling multiple branches