Hi.
I have given UserA "write" permissions on my repo hosted on BitBucket using their email address. But now I am seeing commits by UserB who has a different email address.
When I go to "User and group access" I only see UserA.
How can this be? This has happened on two different occasions; I am hiring one person to work on my project, but they are sub-contracting out the work to someone else (which I do not want).
Thanks.
Hi @jamiek22
G'day.
This can happens if UserA is using git config with UserB email address locally.
UserA is authenticating using the correct original credential.
However, the local git config username (author) is using the UserB email address. So this information is sent to the Bitbucket cloud where we use the commit author to show who made the commit.
Hence, the UI shows UserB made the commit, but if we look at our logs end it should show that the one that made the commit and pushed it over is actually UserB.
You can identify this by asking UserA to run the following commands to show his local git config username and email:
git config --list
I hope this helps.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.