Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

author not mapped to bitbucket user

I am having a trouble with old repository in bitbucket which is: for all my old commit before 2018 I receive this error message

enter image description here 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.

like image 757
A.khaled Avatar asked May 22 '18 03:05

A.khaled


1 Answers

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.

like image 181
VonC Avatar answered Oct 16 '22 02:10

VonC