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
Nicolas Pitre <nico@cam.org>
Date
May 11, 2007, 13:22 UTC
Message-ID
<alpine.LFD.0.99.0705110916580.24220@xanadu.home>
In-Reply-To
<20070511034653.GB26896@fieldses.org>
On Thu, 10 May 2007, J. Bruce Fields wrote:
> So while I'm not convinced of the value of consistency here, if we have
> to have consistency, I'd rather standardize on config-file-editing.
Why not simply providing both?
	You can modify your config with the following commands:
	...
	Alternatively, you might edit your ~/.gitconfig directly as 
	well with the following content:
	...

Wouldn't that be clearer? This way there is no confusion since it is clear up front that both methods are equivalent, and the user can choose between them.

For one, I prefer the git-config method even if I do edit source files all day long. It just seems faster to me.

Nicolas
Previous: Junio C HamanoNext: Jan Hudec
Message 7 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.