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

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

From
Junio C Hamano <junkio@cox.net>
Date
Feb 4, 2006, 01:15 UTC
Message-ID
<7vacd7c4bm.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060203203332.2718.13451.stgit@metalzone.distorted.org.uk>
Mark Wooding <mdw@distorted.org.uk> writes:
> I'm fed up of setting user.email in every repository I own.

That is what --template-dir to init-db is for (it works in an already initialized git repository, but it does not overwrite files).

> I want to put this somewhere central, and I shouldn't have to
> log in again to make it take effect.

I do not understand about logging in again. If you are talking about environment variables, ". ~/.env" would work nicely.

Previous: Mark WoodingNext: Mark Wooding
Message 2 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.