When a PR is opened in Bitbucket, it automatically compares the source with the update and the destination with the original code. If a merge conflict is present, is it shown before the merge.
Can I somehow reference the result of that simulation of the merge - through the API or a git ref?
In a nut shell what I need exactly is to figure out in a script if two branches will be merged without conflicts. And I want to use the same result / request done by Bitbucket.