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

[PATCH] config: Rummage through ~/.gitrc as well as the repository's config.

From
MWMark Wooding <mdw@distorted.org.uk>
Date
Feb 3, 2006, 20:33 UTC
Message-ID
<20060203203332.2718.13451.stgit@metalzone.distorted.org.uk>
From: Mark Wooding <mdw@distorted.org.uk>

I'm fed up of setting user.email in every repository I own. I want to put this somewhere central, and I shouldn't have to log in again to make it take effect.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
---
 Documentation/git.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index e8ef3ef..eab3d46 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -468,6 +468,10 @@ people.  Here is an example:
 Various commands read from the configuration file and adjust
 their operation accordingly.
 
+You can also have a global configuration file, in exactly the same
+format, in the file `.gitrc` in your home directory.  This is a handy
+place to put your name and email address.
+
 
 Identifier Terminology
 ----------------------
Next: Junio C Hamano
Message 1 of 4 in “config: Rummage through ~/.gitrc as well as the repository's config.”
  1. config: Rummage through ~/.gitrc as well as the repository's config.Mark Wooding, Feb 3, 2006
  2. Junio C HamanoFeb 4, 2006
  3. Mark WoodingFeb 4, 2006
  4. Junio C HamanoFeb 4, 2006

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.