When using Bitbucket for source control, there's an "Approve" button that appears at the upper right of the commit page:

Bitbucket Approve Button

It appears to generate an activity message in the repositories overview page:

enter image description here

Is that all it does? What is the intended purpose of that button? Is it just a social feature?

有帮助吗?

解决方案

One use case is when a pull request gets a certain number of approvals, then it gets merged, either automatically or manually.

Thus it becomes easy to filter all the pull requests which are ready to be merged.

It's quite a common feature in code review tools. I have found it to be almost identical in GitLab too.

其他提示

The question was about commits, not pull request. I just created a new pull request from an approved commit and there was no automatic approval on the pull request from the same reviewer who approved the commit. Social feature indeed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top