On Bitbucket server you can reject force pushes from branch restrictions. You can also ensure no one deletes a branch.
I can't find these configurations on BitBucket.org. Where are they?
Hi @timothy.harris , welcome to the Community!
Here is the Bitbucket Cloud documentation: https://confluence.atlassian.com/bitbucket/branch-permissions-385912271.html
If you create a branch permission and leave Allow rewriting branch history unchecked, this will prevent force pushes to that branch.
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...