Re: Altering Previous Commits' Author Field.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tisdag 24 februari 2009 22:29:15 skrev Tim Visher <tim.visher@xxxxxxxxx>:
> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux