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