Saturday, March 4, 2017

About Branch ruleset

Need of Banch Ruleset:

Typically, branches are used in development environments in which multiple teams contribute to a single application. You use branches to develop software in parallel in a version-controlled environment. For example, your teams can develop one feature in a branch while another team develops a feature in a different branch, even if they share the same base rulesets. After feature development completes, you can merge the changes you made for both features into the base ruleset. You can also use branches for providing bug fixes, because you can easily add them to applications.

How to create and use Branch ruleset:
Say below is the application u r going to branch














click Add a Branch Link and add Branch ID. This is required for creating branch ruleset.














After Adding the branch ID, we need to create branch ruleset as below.















Each branch can be used by separate teams, so their works can be separated while developing.














Merging the Branch 2 ruleset and checking.














While merging the Branch ruleset to the main ruleset, all will get added to the Main ruleset.
Note: Check the checkbox, if u want the rules and ruleset back. If its unchecked, then all the rules will get deleted along with the ruleset.
In Branch and main ruleset also having Same rule name, so while merging it will give conflict error.














On click of Conflict, u will get below details:


After resolving the issues, click submit button and merge.

2 comments: