Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can author email in commit message can be used as an identifier




I have a use case where we need to keep track of a user who made a commit. I have couple of questions
1. Does author email in commit message is a reliable way to track users commit or should we use something else?
2. The [no reply]( email provided by github does bitbucket has something similar? 
3. What happens if a commit doesn't contain author email? What percentage of user do not use any email id in their commit message.


1 comment

Hi @Guru CP ,

The author email in a commit message is based on the email configured locally by the user that made this commit:

This is reliable as long as users set up their own email in their local Git configuration.
It is possible though that a user configures locally as author email an email other than their own, so it's important to communicate to your team to configure their own email.

Are you using Bitbucket Cloud ( or Bitbucket Server (self-hosted instance)?

In Bitbucket Cloud, I'm afraid that we don't provide a [no reply] email address.

We also use the commit's email address to associate commits with someone's Bitbucket Cloud account. It is possible though to set up email aliases:

For example, let's say user A has a Bitbucket Cloud account with primary/Atlassian account email
If the user makes commits with this email as author, we will map these commits to their account.

If they want to make commits with a different email as author, e.g., then they can add as an email alias to their Bitbucket Cloud account. Then, if they make commits locally with author and push them to Bitbucket, these commits will be mapped to their Bitbucket user in Bitbucket UI.

If a commit doesn't contain an author email, it does not get mapped to any Bitbucket user in Bitbucket UI. I don't believe that we have statistics on the percentage of commits that don't have an author email.

Kind regards,


Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,818 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you