Author name

Anchal Agarwal
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!
December 13, 2023

hello

I have 2 user AnchalGaruda and GarudaDevelopment.I have clone the repo using anchalgaruda and chnage the config with Garudadevelopment email id and now when i push the code it shows Garudadevelopment commited the code but code was commited by anchalgaruda

How to identify ho have push the code

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2023

Hello @Anchal Agarwal 

thank you for reaching out to Community!

The behavior you reported is actually how git was implemented. Commit and push are different operations. The commit is done locally, while the push sends your committed content to Bitbucket Cloud. 

The user who signs the commits isn't necessarily the same user who authenticates the push. When you do a commit in your local machine, the author of the commit will be based on your local git settings. This is the author you will see in the commit list on the UI. 

To configure the right commit author in your local machine you can follow the instructions in the article Configure your DVCS username for commits 

Currently, it's not possible to see the user that authenticated the push directly in the UI, but we have the following feature request  to include that information in the Audit Logs : 

If you would be interested in that feature, we suggest adding your Vote to it as it helps our product managers to understand the interest. You can also add yourself as a watcher to be notified whenever there's any update on that feature.

Hope that helps! If you have any questions, feel free to ask!

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events