Zectzozda
Zectzozda

Reputation: 77

How can I change the author of commits in Bitbucket?

I had a typo in my git user.email (user.email = [email protected] instead of [email protected]), resulting in my pushes to Bitbucket not correctly attributing them to me. These commits are now released into production, so amending the author on each commit in previous branches isn't ideal.

How can I update the author of these commits in Bitbucket?

Upvotes: 1

Views: 1802

Answers (1)

TTT
TTT

Reputation: 29139

It's not possible to change anything about Git commits without rewriting them, and subsequently all child commits after that. In Bitbucket it's possible to add additional email aliases to your account, however, you'll need to be able to receive an email at that address to confirm it.

As a side note, with Gmail email addresses in particular, periods are optional, so [email protected] is the same as [email protected]. If the only difference is a missing period, you may be in luck because you can confirm the "incorrect" email address.

Upvotes: 2

Related Questions