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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.