If your branch line has been created out of mainline and mainline has not been touched since the creation of the branch, the result shoulb be what you expect it to be (mainline equals your branch line).
If there has been changes on the mainline that do not conflict with your branch line, you will get everything from mainline and your branch. That’s also what you want.
If there are changes in mainline that conflict with changes in your branch, you need to resolve them. Mendix can’t know which version is correct. You need to make this decission.
I would just give it a try. Merging does not automatically commit your branch. If it is not working as expected, you can do a fresh checkout without any risk.
Create a separate branch (“MainToMergeTo” for instance) from the mainline, merge your branch to “MainToMergeTo” to see the size of problem. Maybe there is no conflict and no problem.
If there is a problem and you have nothing in the mainline of value, use this option :
If there wasn’t any change since your last one then you shouldn’t have any issues. If there were different changes on it, it could be possible that you get merge conflicts which you need to solve. You can try to merge and then you see a result on your local copy. If you don’t want to keep this result, you can delete your local copy and check it out again.
But I would suggest to make sure you don#t have uncommitted code on your mainline before start merging.
Also, if you merge multiple committs, I would suggest to merge not more then 5 at once.
Good luck!
I only had 3 conflicts. Boom :)