Posted: 2 Aug 2016 15:09 EDT Last activity: 3 Aug 2016 13:27 EDT
How to create Branches? and how to do merges?
thinking about developement source control methods, I'm curious about how to create branches in Pega. As I'm a very new pega developer I don't know how deal with the following situation and really need the help of the community.
Once an app is finished, a version is created, like "Version 1". After that, developers start to work on "Version 2". Before finish Version 2, if a critical bug is found on "Version 1", it needs to be fixed before "Version 2" goes to production, generating "Version 1.1". Here a have two questions?
1) How to create this branch of "Version 1" to work in the fix and create the "Version 1.1"
2) Is there a way to merge the fixed code to "Version 2" (still in development) or do I need to replicate the solution mannualy in the development track?
2 . Make all your changes / bug fixes in the patch ruleset
3. Lockit and move it to Prod and update your app in order to include this patch version as well.
Branching is useful when you want to continue parallel developement and at the end of the developement cycle, merge it with the main application RS. It might not be that useful to move a debug patch to prod .