git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] user-manual: Use "git config --global" instead of editing ~/.gitconfig

From
Johan Herland <johan@herland.net>
Date
May 10, 2007, 22:16 UTC
Message-ID
<200705110016.18319.johan@herland.net>
In-Reply-To
<20070510220253.GZ13719@fieldses.org>
On Friday 11 May 2007, J. Bruce Fields wrote:
Show 10 quoted lines
> On Thu, May 10, 2007 at 11:53:31PM +0200, Johan Herland wrote:
> > Use git-config for setting global user.name and user.email rather than
> > telling the user to edit ~/.gitconfig directly. This brings
> > user-manual.txt in line with tutorial.txt.
>
> The inconsistency is intentional.  We want users to know about
> git-config, because it's helpful when writing scripts, and because it
> has a useful manpage.  But we also want them to know about the
> config-file syntax, since most of us find reading and editing a file
> more intuitive than running git-config.  So we use a mixture of both.

I see your point, but when I look at the user manual, the only place I can actually find git-config used is in [[remote-branch-configuration]]. Besides, we also present the config-file syntax for user.{name,email} in [[telling-git-your-name]], so it's not like I'm remove every reference to the layout of .gitconfig.

Maybe we can present both versions in [[making-changes]]?
Have fun!
...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: J. Bruce FieldsNext: Petr Baudis
Message 3 of 9 in “user-manual: Use "git config --global" instead of editing ~/.gitconfig”
  1. user-manual: Use "git config --global" instead of editing ~/.gitconfigJohan Herland, May 10, 2007
  2. J. Bruce FieldsMay 10, 2007
  3. Johan HerlandMay 10, 2007
  4. Petr BaudisMay 10, 2007
  5. J. Bruce FieldsMay 11, 2007
  6. Junio C HamanoMay 11, 2007
  7. Nicolas PitreMay 11, 2007
  8. Jan HudecMay 11, 2007
  9. Junio C HamanoMay 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.