Support
To learn more about the app, you should:
- Read the documentation.
This is a supported app, so you may contact the vendor (or support contact) for help:
Description
Enable Hook
After you uploaded Protect Branches plugin . Enable the hook in repository pre receive hook section "Disable Branch Deletes"
Configure Regex Pattern of branch name
When you enable , You will see configuration screen to enter Regex value of branches you will need to protect. for example to protect master and feature branches , you will need to use (master|feature/.*)
Pushing branch delete will give commit error
Git push of branch delete will give commit error message
More details
For example: If you would like to save master and develop branches you would provide something like (master|develop).
First Release Provide basic functionality of preventing delete. We will add more feature to this plugin in next releases
Please fill bug request in bitbucket https://bitbucket.org/sjagadeesan/protectbranches/issues
Update About Plugin Upgrade:
There has been lot of request for the plugin upgrade to new bitbucket server version.I will be working on a upgraded version this week and will release it ASAP.
Version history
1.0Bitbucket Server 2.12.1 - 3.11.62014-09-09Initial Release No release notes.