This app has been archived

You may still get support information and download previous versions of this app. Learn more.
Last modified 2015-10-05 1 download By Sarav

Support

To learn more about the app, you should:


This is a supported app, so you may contact the vendor (or support contact) for help:

Sarav
sjagadeesan@ymail.com

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