Skip to contentSkip to conversation

Change author in commits

DISCUSSION Ángel Eduardo 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello.

I've started a repository in a project of mine, but I forgot to change the commiter name to the nickname and email I'll use in the project along with my teammates.

So, it's there a way to change them it in the commits I've done?

Thanks a lot in advance!

Signature · 2 lines
View this message in context: http://n2.nabble.com/Change-author-in-commits-tp1686491p1686491.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw
Quoted 5 lines · Ángel Eduardo

I've started a repository in a project of mine, but I forgot to change the commiter name to the nickname and email I'll use in the project along with my teammates.

So, it's there a way to change them it in the commits I've done?

If you haven't published your changes, simply rewrite your history via git filter-branch; see its manpage for details.

If you *have* published your changes, you can't change committer details without changing the SHA1 of the commits.

Dave.