Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

branching in d365fo

(0) ShareShare
ReportReport
Posted on by 6

Hi All,

can you please let me know what branching does in D365FO? In which purpose it's used?

Please give me more shed on this.

thanks!

  • @rp@n Profile Picture
    6 on at
    RE: branching in d365fo

    Thanks Martin

  • Verified answer
    Martin Dráb Profile Picture
    231,983 Most Valuable Professional on at
    RE: branching in d365fo

    For example, look at Merge & branch source code with TFS 2012 on YouTube.

    Note that you can use your favourite search engine to find more links if needed.

  • @rp@n Profile Picture
    6 on at
    RE: branching in d365fo

    Thanks Martin,

    Finally one thing only.

    Can you please pribide me any link,  which I can follow to configure branch creation and merging from scratch ...

    So, that i will follow the same

  • Verified answer
    Martin Dráb Profile Picture
    231,983 Most Valuable Professional on at
    RE: branching in d365fo

    You can do whatever works the best for you. But note that having extra branches means extra merges, which takes time and might lead to conflicts, especially if you don't merge often enough.

    My recommendation is starting with a small number of branches and add new ones if needed. Note that creating a branch is simple, therefore you can easily create them on demand (e.g. to develop a particular feature in isolation and removing the branch).

    I'm not a fan of having a branch for each developer.

    By the way, I said that creating branches is easy, but switching branches in F&O is a different story.

  • @rp@n Profile Picture
    6 on at
    RE: branching in d365fo

    Thanks Martin,

    1. Can we create a multiple DEV branches as user respective? Or only one Dev branch all users can stored code?

    2. How will configure branching in VS.

    Please give me more shed on this

  • Verified answer
    Martin Dráb Profile Picture
    231,983 Most Valuable Professional on at
    RE: branching in d365fo

    1. This has nothing to do with branches. Each commit of changes (changeset in TFVC terminology) has some properties associated with it and the name of the author is one of them.

    2. It depends. If you the change of Dev2 was done before changes by Dev1, you can simply build and deploy the older version. Otherwise you can rollback changes don't by Dev1 (and merge code), or use branches.

    3. It's a branch called "main". If has no special meaning as such, it's just in how to use it. For example, you may want to develop in a separate branch (Dev) and merge code to main when it passes some quality checks.

    4. In those branches you choose. Most of your code will be in all branches.

    5. See 3.

  • @rp@n Profile Picture
    6 on at
    RE: branching in d365fo

    Yes Muthu, I have few questions

    Suppose two developers are working in same object like for example SalesTable

    Users - Dev 1 and Dev 2

    My question is

    1. Hiw will identify which code is wrote by Dev1 or Dev2 ?

    2. If I wants to deploy the code done by user Dev 2 not Dev1, how we can do?

    3.what is main branch ?

    4. In which branch our code get stored?

    5. Is there any role of main branch during deployment through LCS?

    Kindly elaborate please.

    Thanks!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: branching in d365fo

    branching refers to the code repository along with objects versioning. It helps to tracking the development changes along with the history and you can use the branch in build pipelines for deployment procedure

    below links can give some details on this subject,

    docs.microsoft.com/.../new-environments-visual-studio-teams-branch-retail-projects

    docs.microsoft.com/.../configure-vso-solution

    if you have any specific question, it will be easy to give correct direction

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,983 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans