I am having a trouble with old repository in bitbucket which is: for all my old commit before 2018 I receive this error message
the point is it is me who pushed those commits. is there any way that I can map those commits to my account? thanks in advance.
That means the author settings (git config user.name
and git config user.email
) was incorrect for those past commits.
You would need to change the email on past commits (as in here) and then force push that branch back to your remote repo, in order for those commits to be associated to your account.
If you are the only one working on that repository, this can be done without any adverse consequences.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With