From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: Tim Visher <tim.visher@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Altering Previous Commits' Author Field.
Date: Tue, 24 Feb 2009 22:43:49 +0100 [thread overview]
Message-ID: <200902242243.49612.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <c115fd3c0902241329i2455bc8bj62ec41856773be30@mail.gmail.com>
tisdag 24 februari 2009 22:29:15 skrev Tim Visher <tim.visher@gmail.com>:
> Hello Everyone,
>
> I have two identities that git knows me as, one for personal and the
> other for work. I just realized that I project I've been doing some
> work on at work was using the global config file on that box because I
> had forgotten to a project specific config to change my identity. Is
> there any way for me to edit the history so that the Author of all of
> those commits is changed to my personal identity?
If you haven't published your branch you can use git-filter-branch to
rewrite using the --env-filter "export GIT_AUTHOR_NAME=... etc"
-- robin
next prev parent reply other threads:[~2009-02-24 21:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 21:29 Altering Previous Commits' Author Field Tim Visher
2009-02-24 21:43 ` Robin Rosenberg [this message]
2009-02-24 22:16 ` Tim Visher
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=200902242243.49612.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--cc=git@vger.kernel.org \
--cc=tim.visher@gmail.com \
/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).