Skip to content

Commit b6538a0

Browse files
committed
Merge branch 'nk/config-local-doc' into maint
* nk/config-local-doc: config: Add description of --local option
2 parents eac00c5 + 560d4b8 commit b6538a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/git-config.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,15 @@ rather than from all available files.
114114
+
115115
See also <<FILES>>.
116116

117+
--local::
118+
For writing options: write to the repository .git/config file.
119+
This is the default behavior.
120+
+
121+
For reading options: read only from the repository .git/config rather than
122+
from all available files.
123+
+
124+
See also <<FILES>>.
125+
117126
-f config-file::
118127
--file config-file::
119128
Use the given config file instead of the one specified by GIT_CONFIG.

0 commit comments

Comments
 (0)