From: Junio C Hamano Date: Tue, 31 Mar 2026 21:10:35 GMT Subject: Re: [PATCH 3/3] doc: replace the rest of git config --list with `list` Message-ID: In-Reply-To: kristofferhaugsbakk@fastmail.com writes: > diff --git a/Documentation/gitprotocol-v2.adoc b/Documentation/gitprotocol-v2.adoc > index c7db103299a..ec2562fb0a1 100644 > --- a/Documentation/gitprotocol-v2.adoc > +++ b/Documentation/gitprotocol-v2.adoc > @@ -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]). OK. > diff --git a/Documentation/gittutorial.adoc b/Documentation/gittutorial.adoc > index f89ad30cf65..519b8d8be2c 100644 > --- a/Documentation/gittutorial.adoc > +++ b/Documentation/gittutorial.adoc > @@ -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 > diff --git a/Documentation/technical/api-trace2.adoc b/Documentation/technical/api-trace2.adoc > index cf493dae03f..918e517c2e6 100644 > --- a/Documentation/technical/api-trace2.adoc > +++ b/Documentation/technical/api-trace2.adoc > @@ -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 > diff --git a/Documentation/user-manual.adoc b/Documentation/user-manual.adoc > index 76969871176..3cd94c7afa1 100644 > --- a/Documentation/user-manual.adoc > +++ b/Documentation/user-manual.adoc > @@ -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 Looking good. Thanks.