git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen Sinclair" <radarsat1@gmail.com>
To: git@vger.kernel.org
Subject: Retroactively change email signature?
Date: Wed, 2 Jan 2008 15:37:51 -0500	[thread overview]
Message-ID: <9b3e2dc20801021237v4d5d236fn3d2643502b9bb78f@mail.gmail.com> (raw)

Hi,

I imagine that changing old commits is considered one of the great
evils of source control, but I have a small problem:
I have a habit of testing my code on several different computers and
operating systems.  Sometimes when setting up a new computer for
testing (and thus, for development, since testing always results in a
few commits), I have forgotten to use git-config to configure my name
and email address.

Since git doesn't warn when I've forgotten to do this, my git-log is
now sprinkled with various email addresses, some which are just my
username@hostname.  This is completely useless to people who might
view my public repository.

Is it possible to retroactively change the author and email of several
commits?  Perhaps some sort of search-and-replace for the commit
metadata?  Even for older commits, I'd like to change the email
addresses to my current address.

If it's not possible it's not the end of the world, but I thought it
wouldn't hurt to ask.

thanks,
Steve

             reply	other threads:[~2008-01-02 20:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 20:37 Stephen Sinclair [this message]
2008-01-02 21:17 ` Retroactively change email signature? Jakub Narebski
2008-01-02 21:24 ` Linus Torvalds
2008-01-02 22:06   ` Stephen Sinclair
2008-01-03  0:53     ` David Brown
2008-01-03  5:52   ` Retroactively change email signature? [resend] Sam Vilain
2008-01-04 18:34     ` Linus Torvalds
2008-01-04 23:04       ` Sam Vilain
2008-01-04 23:08         ` Sam Vilain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b3e2dc20801021237v4d5d236fn3d2643502b9bb78f@mail.gmail.com \
    --to=radarsat1@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).