docs: clarify file options in git-config `--edit`

The description for the `-e`/`--edit` option references scopes inconsistently: system and global are referenced by their option name (`--system`/`--global`), but repository (`--local` is not. Additionally, neither `--worktree` nor `--file` are referenced at all, despite also being a valid options. Update the description to mention all four available scopes as well as `--file`, referencing each consistently by their option name. Signed-off-by: Brian Lyles <brianmlyles@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brian Lyles committed Mar 16, 2024 at 00:01 UTC 7823a5120356ed655febe7c0378669baa0da1d4e
1 file changed +2 -1
Documentation/git-config.txt
+2 -1
@@ -275,7 +275,8 @@ Valid `<type>`'s include:
275 -e::
276 --edit::
277 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>`.
280
281 --[no-]includes::
282 Respect `include.*` directives in config files when looking up