public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail•com>
To: "Eugene R" <rodiev.gaf@gmail•com>, git@vger•kernel.org
Subject: Re: [ORG] git config list
Date: Mon, 22 Dec 2025 17:17:20 +0100	[thread overview]
Message-ID: <8cecaf95-1b08-4a9a-9b02-6920d46501e4@app.fastmail.com> (raw)
In-Reply-To: <3a63d796-b975-471a-84b4-8f8e7046615c@gmail.com>

On Mon, Dec 22, 2025, at 15:37, Eugene R wrote:
> On the page https://git-scm.com/docs/git-config (Russian version)  we
> can see: git config list, that is might be an mistype as we supposes to
> see: git config --list

No. The current documentation on that page is for Git 2.52.0. Git 2.46.0
introduced subcommands like `list` that deprecates the corresponding
options like `--list`. From the release notes:

      * The operation mode options (like "--get") the "git config" command
        uses have been deprecated and replaced with subcommands (like "git
        config get").

See also the [Deprecated Modes] section.

Both `git config list` and `git config --list` work. But the `--list`
form is deprecated.

Most people might use much older Git versions since that is what their
package manager (that they directly or indirectly use) provides. I see
that Debian Stable now uses a derivation of Git 2.47.0. But I think up
until recently it might have used Git 2.43.0?

🔗: Deprecated Modes: https://git-scm.com/docs/git-config#_deprecated_modes

      reply	other threads:[~2025-12-22 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-22 14:37 [ORG] git config list Eugene R
2025-12-22 16:17 ` Kristoffer Haugsbakk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8cecaf95-1b08-4a9a-9b02-6920d46501e4@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=rodiev.gaf@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox