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

[PATCH v2 4/4] user-manual: simplify the user configuration

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 1, 2009, 08:44 UTC
Message-ID
<1241167462-5984-5-git-send-email-felipe.contreras@gmail.com>
In-Reply-To
<1241167462-5984-4-git-send-email-felipe.contreras@gmail.com>

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.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 Documentation/user-manual.txt |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index d466199..6262c6c 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1008,13 +1008,11 @@ Telling git your name
 ---------------------
 
 Before creating any commits, you should introduce yourself to git.  The
-easiest way to do so is to make sure the following lines appear in a
-file named `.gitconfig` in your home directory:
+easiest way is to use the linkgit:git-config[1] command:
 
 ------------------------------------------------
-[user]
-	name = Your Name Comes Here
-	email = you@yourdomain.example.com
+$ git config --global user.name "Your Name Comes Here"
+$ git config --global user.email you@yourdomain.example.com
 ------------------------------------------------
 
 (See the '"CONFIGURATION FILE"' section of linkgit:git-config[1] for
-- 
1.6.3.rc3.13.g195b.dirty
Previous: Felipe Contreras
Message 4 of 4 in “user-manual: general improvements”
  1. 0/4 user-manual: general improvementsFelipe Contreras, May 1, 2009
  2. 2/4 user-manual: use 'fast-forward' instead of 'fast forward'Felipe Contreras, May 1, 2009
  3. 3/4 user-manual: add global config sectionFelipe Contreras, May 1, 2009
  4. 4/4 user-manual: simplify the user configurationFelipe Contreras, May 1, 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.