Thursday, August 16, 2018

Merge branches in VSTS in D365 FO/AX7.0

Hi, Some times we get a requirement to merge the branches

In my case I have DEV and MAIN branches. And here my source is DEV and target is MAIN.

Click on  Source control explorer.



-> right click on target branch -> Branching and Merging -> Merging

-> Select Source branch as "DEV" from the browse button and select the target branch as "MAIN".
Here I'm merging all change sets. So I selected the radio button as shown below.



-> Click on "Next" -> Here I'm merging only latest version. If you want you can change the type from the drop down




-> Click next -> finish.

Once the merging gets completed, then check-in the code back to the build server.


If you get the below error, then map the local path and repeat the same steps again.

The merge target $/DynamicsAX/Trunk/Main is not mapped.

Solution
-----------
Map a local path for the target branch(Main).
-> Click on "Not mapped"




-> Select any local folder from the browse button. (In my case I created a new folder in C driver and mapped it )



->  Click Map -> Get the objects into your local folder.

That's it.

No comments:

Post a Comment

Why do users often get confused about Dynamics 365 Customer Engagement (D365 CE), Dataverse, and the Power Platform?

  The Microsoft ecosystem for business applications can sometimes be difficult to navigate, especially when discussing Dynamics 365 Customer...