progit2 icon indicating copy to clipboard operation
progit2 copied to clipboard

`git config` updates

Open shallow-beach opened this issue 1 year ago • 2 comments

General overview of your idea.

The syntax for git config has changed quite a bit.

What problem will this solve?

I'm not sure if the intent of this book is to stay up to date with version 2 of Git, or if it is tied to a specific release, so apologies if this is out of scope. See for example first-time-setup.asc.

shallow-beach avatar Aug 12 '24 02:08 shallow-beach

This applies across the book. A further suggestion may be to explicitly include a release number if the intent is not to stay current with version 2. See pg 18:

This book was written using Git version 2.

If it is the intent, lmk and I'll PR as I come across content!

shallow-beach avatar Aug 12 '24 18:08 shallow-beach

Reference:

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

  • https://github.com/git/git/blob/master/Documentation/RelNotes/2.46.0.txt
  • https://git-scm.com/docs/git-config/2.46.0

rosshjb avatar Nov 24 '24 07:11 rosshjb