BitBucket assumes I represent another account

Issue #3813 invalid
Mikael Aksamit
created an issue


I have two accounts. One kind of organizational tied to:

And one personal, tied to:

If I push commits to BitBucket, the system always identifies me as '', while I am trying to commit as ''.

The remote is specified to reflect my personal account:

{{{ c-2ec2ade8-74736162:galaxygateway mikaks$ git remote -v origin (fetch) origin (push) }}}

And I also always supply the password to my personal account, not the organizational. So I feel it to be strange that the system even allows me to commit as ''.

To make things even stranger... in my personal account I have a private repository that is not even shared with '', still commits there show up as if they would have been done by '', that doesn't even have read/write access to that repository. In that repository I use the following remote configuration:

{{{ c-2ec2ade8-74736162:galaxygateway mikaks$ git remote -v origin (fetch) origin (push) }}}

Please let me know if you believe this is a bug.

Best regards,

Mikael Aksamit

Comments (3)

  1. Nicolas Venegas

    Hi Mikael

    The way Bitbucket resolves which user created a commit is by using the email address used in the Author string of a commit (that is, what "hg log" and "git log" report as the author of a commit).

    If the email matches a validated email address on Bitbucket, we resolve that commit to the user who owns that (unique) email address.

    The user you authenticate as when pushing does not affect things. Using it would be tricky, because you can push commits by multiple authors in one go.



  2. Brodie Rao

    To clarify: you probably have your Git user email set to on one machine and on another.

    Try running "git config" on all of your machines. When you find the offending one, run "git config --global".

  3. Log in to comment