I have been struggling a bit with merging PR here. In GitHub when you are about to merge a PR, you can choose which email Id you want as author of merge commit but in Bitbucket the person who raised the PR is the default author of merge commit.
Is there a way to change the default author of merge commit to the person who merged the PR instead of who raised it?
Hi, @Lokesh! Welcome to the community!
Indeed, the author of the merge commit will be the user who created the Pull Request, as this person is considered the author of the work that is being merged on the PR.
So, for this reason, when the PR is merged, that same user who authored the work will be shown as the Author.
However, we understand that it’s important to see who merged the PR, so we have added in Bitbucket UI who the author of the work is and, separately, who merged the PR, as you can see here:
So Closed by indicates who actually merged the changes.
I hope this helps, but do let me know if you have any questions.
Hi, @Caroline R !
I know we can see the person who closed the PR but for my use-case I need to have the commit by the name of person who closed it. We use 3rd party plugins and for those plugins we only want to give access to reviewer and not to every team member.
Is this configuration even in consideration?
This is not possible to configure at the moment and it's not something we have under consideration.
However, I can create a feature request for our development team to consider, and I'd like to ask for some more info on your use case to better understand why this is needed.
You mention 3rd party plugins and reviewers, and I'm not sure how this related to the author of the merge commit.
Could you please explain how these are related?
And also what would be the benefit of having the user that does the PR merge as the commit author?
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
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