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

Re: Retroactively change email signature?

From
David Brown <git@davidb.org>
Date
Jan 3, 2008, 00:53 UTC
Message-ID
<20080103005309.GA6158@old.davidb.org>
In-Reply-To
<9b3e2dc20801021406h46a73ef3ye0c4613d6472a4b3@mail.gmail.com>
On Wed, Jan 02, 2008 at 05:06:37PM -0500, Stephen Sinclair wrote:
Show 6 quoted lines
>For example, I have a clone of this repo on a Linux, Windows, and OS X
>machine, and also another clone for each on my laptop..  git is
>actually turning out to be great for doing all this swapping between
>machines, but it does take a little training to remember to set the
>configuration, since there's no central repo to ask me for my username
>and password before I can commit.

You can set the user.email and user.name globally with 'git config --global user.email ...' and the likes, but that only works if you use the same ID.

It'd be nice if there was something that could be put in the global user.email to require each repository to override that. On one machine, my password file doesn't have my name in it, and I kind of get this behavior by default, but it be nice to be able to do it for real.

Anyone have ideas on how this could be done?
Dave
Previous: Stephen SinclairNext: Sam Vilain
Message 5 of 9 in “Retroactively change email signature?”
  1. Stephen SinclairJan 2, 2008
  2. Jakub NarebskiJan 2, 2008
  3. Linus TorvaldsJan 2, 2008
  4. Stephen SinclairJan 2, 2008
  5. David BrownJan 3, 2008
  6. Sam VilainJan 3, 2008
  7. Linus TorvaldsJan 4, 2008
  8. Sam VilainJan 4, 2008
  9. Sam VilainJan 4, 2008

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.