Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong email in git config while commiting

Charles Mathieu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2025

I've been commiting to a project using the wrong email in my git config. How to associate all my commits to the correct account in Bitbucket? I tried the email alias feature but it requires to log in to the email, but I don't have ownership. 

1 answer

0 votes
Nate Holland
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2025

If you don't have ownership of the email you've been committing from I don't think you will be able to alias it in Bitbucket.

If this is a small project you could amend your commits with the new email information and force push it up. If this is a larger project with multiple contributors that could be very disruptive and I wouldn't recommend the amend and force push approach. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events