If you do a forced push of a branch which has a PR the PR isn't updated. The branch view shows the new commit but in the PR no change is visible. If you decline and re-open the PR the change is visible.
Hello and welcome to the Community!
Are you using Bitbucket Cloud or Bitbucket Server?
Bitbucket Server
Do you have any branch permissions setup that might be preventing a force-push?
https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html#Usingbranchpermissions-Addingbranchpermissions
The branch permissions consists of these 3 options :
1)Rewriting history
2)Deletion
3)Changes without a pull request
Do I need to change any setting ?
It looks like you're new here. Sign in or register to get started.