Hi, Is there a way to disable forced push to selected git branches? GitLab has such feature OOB, but I could not find that in BitBucket.
Hi Ivan,
You haven't mentioned if you're using Bitbucket Server or Cloud, and the options will differ.
For example, if you're in Bitbucket Server you could have a look at Branch permissions, one of the restrictions you could apply is to prevent rewriting history
on specified branches (for example by a force push).
Something similar can be found for Cloud, see Branch permissions. Would that help you?
Ana
Thank you Ana, this should work for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would also like to know this. It doesn't seem like it's possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.