@@ -96,29 +96,31 @@ OPTIONS
96
96
names are not.
97
97
98
98
--global::
99
- For writing options: write to global ~/.gitconfig file rather than
100
- the repository .git/config, write to $XDG_CONFIG_HOME/git/config file
101
- if this file exists and the ~/.gitconfig file doesn't.
99
+ For writing options: write to global `~/.gitconfig` file
100
+ rather than the repository `.git/config`, write to
101
+ `$XDG_CONFIG_HOME/git/config` file if this file exists and the
102
+ `~/.gitconfig` file doesn't.
102
103
+
103
- For reading options: read only from global ~/.gitconfig and from
104
- $XDG_CONFIG_HOME/git/config rather than from all available files.
104
+ For reading options: read only from global ` ~/.gitconfig` and from
105
+ ` $XDG_CONFIG_HOME/git/config` rather than from all available files.
105
106
+
106
107
See also <<FILES>>.
107
108
108
109
--system::
109
- For writing options: write to system-wide $(prefix)/etc/gitconfig
110
- rather than the repository .git/config.
110
+ For writing options: write to system-wide
111
+ `$(prefix)/etc/gitconfig` rather than the repository
112
+ `.git/config`.
111
113
+
112
- For reading options: read only from system-wide $(prefix)/etc/gitconfig
114
+ For reading options: read only from system-wide ` $(prefix)/etc/gitconfig`
113
115
rather than from all available files.
114
116
+
115
117
See also <<FILES>>.
116
118
117
119
--local::
118
- For writing options: write to the repository .git/config file.
120
+ For writing options: write to the repository ` .git/config` file.
119
121
This is the default behavior.
120
122
+
121
- For reading options: read only from the repository .git/config rather than
123
+ For reading options: read only from the repository ` .git/config` rather than
122
124
from all available files.
123
125
+
124
126
See also <<FILES>>.
@@ -218,9 +220,9 @@ $(prefix)/etc/gitconfig::
218
220
219
221
$XDG_CONFIG_HOME/git/config::
220
222
Second user-specific configuration file. If $XDG_CONFIG_HOME is not set
221
- or empty, $HOME/.config/git/config will be used. Any single-valued
223
+ or empty, ` $HOME/.config/git/config` will be used. Any single-valued
222
224
variable set in this file will be overwritten by whatever is in
223
- ~/.gitconfig. It is a good idea not to create this file if
225
+ ` ~/.gitconfig` . It is a good idea not to create this file if
224
226
you sometimes use older versions of Git, as support for this
225
227
file was added fairly recently.
226
228
0 commit comments