Skip to content

Commit b58cc6a

Browse files
committed
Merge branch 'bl/doc-config-fixes'
A few typoes in "git config --help" have been corrected. * bl/doc-config-fixes: docs: fix typo in git-config `--default` docs: clarify file options in git-config `--edit`
2 parents 0cb25d1 + 86f9ce7 commit b58cc6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-config.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ Valid `<type>`'s include:
275275
-e::
276276
--edit::
277277
Opens an editor to modify the specified config file; either
278-
`--system`, `--global`, or repository (default).
278+
`--system`, `--global`, `--local` (default), `--worktree`, or
279+
`--file <config-file>`.
279280

280281
--[no-]includes::
281282
Respect `include.*` directives in config files when looking up
@@ -285,7 +286,7 @@ Valid `<type>`'s include:
285286

286287
--default <value>::
287288
When using `--get`, and the requested variable is not found, behave as if
288-
<value> were the value assigned to the that variable.
289+
<value> were the value assigned to that variable.
289290

290291
CONFIGURATION
291292
-------------

0 commit comments

Comments
 (0)