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

Re: [PATCH] user-manual: Simplify the user configuration.

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jan 21, 2009, 19:39 UTC
Message-ID
<94a0d4530901211139x6296a48m14aa7ce1d8e65145@mail.gmail.com>
In-Reply-To
<20090121191808.GF21686@coredump.intra.peff.net>
On Wed, Jan 21, 2009 at 9:18 PM, Jeff King <peff@peff.net> wrote:
Show 15 quoted lines
> On Wed, Jan 21, 2009 at 09:04:10PM +0200, Felipe Contreras wrote:
>
>> This is shorter, avoids the burder to think about the format of the
>> configuration file, and git config is already used in other places in
>> the manual.
>
> I seem to recall this coming up several times before, and there being a
> sentiment that it was _good_ to introduce the user to concept of a
> config file. It lets them know that it exists, approximately what the
> syntax looks like, and demystifies what is going on when you type "git
> config" (i.e., it intentionally shows that there is more than way to do
> it).
>
> I don't have a personal preference, but you may want to grep the
> list archives for other discussion.

That's over complicating the user with what should probably be one of the first things to do. Besides, do Windows users know which is their home directory?

Maybe a comment like previous git config commands: If you examine the file .gitconfig in your home directory, you will see this:

------------------------------------------------
...
[user]
       name = Your Name Comes Here
       email = you@yourdomain.example.com
...
------------------------------------------------
-- 
Felipe Contreras
Previous: Jeff KingNext: Jeff King
Message 6 of 25 in “user-manual: Simplify the user configuration.”
  1. 1/2 user-manual: Simplify the user configuration.Felipe Contreras, Jan 21, 2009
  2. 2/2 Fix typo.Felipe Contreras, Jan 21, 2009
  3. Markus HeidelbergJan 21, 2009
  4. user-manual: Simplify the user configuration.Felipe Contreras, Jan 21, 2009
  5. Jeff KingJan 21, 2009
  6. Felipe ContrerasJan 21, 2009
  7. Jeff KingJan 21, 2009
  8. Junio C HamanoJan 21, 2009
  9. Wincent ColaiutaJan 21, 2009
  10. Felipe ContrerasJan 21, 2009
  11. Hannu KoivistoJan 22, 2009
  12. Felipe ContrerasJan 22, 2009
  13. Junio C HamanoJan 22, 2009
  14. Johannes SchindelinJan 22, 2009
  15. Hannu KoivistoJan 22, 2009
  16. Felipe ContrerasJan 24, 2009
  17. Johannes SchindelinJan 24, 2009
  18. Felipe ContrerasJan 24, 2009
  19. Junio C HamanoJan 25, 2009
  20. Felipe ContrerasJan 25, 2009
  21. Jeff KingJan 25, 2009
  22. Wincent ColaiutaJan 25, 2009
  23. Jeff KingJan 25, 2009
  24. Kyle MoffettJan 25, 2009
  25. Johannes SchindelinJan 25, 2009

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.