Merge branch 'kh/doc-config-list' into next

"git config list" is the official way to spell "git config -l" and
"git config --list".  Use it to update the documentation.

* kh/doc-config-list:
  doc: gitcvs-migration: rephrase “man page”
  doc: replace git config --list/-l with `list`
next
Junio C Hamano 2026-04-07 11:10:41 -07:00
commit fb95f091cc
6 changed files with 6 additions and 7 deletions

View File

@ -22,7 +22,7 @@ OPTIONS
Display the logical variables. In addition, all the
variables of the Git configuration file .git/config are listed
as well. (However, the configuration variables listing functionality
is deprecated in favor of `git config -l`.)
is deprecated in favor of `git config list`.)

EXAMPLES
--------

View File

@ -49,8 +49,7 @@ them first before running git pull.
================================
The 'pull' command knows where to get updates from because of certain
configuration variables that were set by the first 'git clone'
command; see `git config -l` and the linkgit:git-config[1] man
page for details.
command; see the subcommand `list` in linkgit:git-config[1] for details.
================================

You can update the shared repository with your changes by first committing

View File

@ -659,7 +659,7 @@ use by the client, MUST indicate prerequisites (in any) with standard
applicable.
+
The advertised URI may alternatively contain a plaintext file that `git
config --list` would accept (with the `--file` option). The key-value
config list` would accept (with the `--file` option). The key-value
pairs in this list are in the `bundle.*` namespace (see
linkgit:git-config[1]).


View File

@ -432,7 +432,7 @@ bob$ git config --get remote.origin.url
-------------------------------------

(The complete configuration created by `git clone` is visible using
`git config -l`, and the linkgit:git-config[1] man page
`git config list`, and the linkgit:git-config[1] man page
explains the meaning of each option.)

Git also keeps a pristine copy of Alice's `master` branch under the

View File

@ -1253,7 +1253,7 @@ it.
$ git config --system color.ui never
$ git config --global color.ui always
$ git config --local color.ui auto
$ git config --list --show-scope | grep 'color.ui'
$ git config list --show-scope | grep 'color.ui'
system color.ui=never
global color.ui=always
local color.ui=auto

View File

@ -2865,7 +2865,7 @@ stored in Git configuration variables, which you can see using
linkgit:git-config[1]:

-------------------------------------------------
$ git config -l
$ git config list
core.repositoryformatversion=0
core.filemode=true
core.logallrefupdates=true