Skip to content

Branching

Mötz Jensen edited this page Oct 26, 2018 · 6 revisions

Branching strategy

We encourage the use of features/bug fixes branches when working against the d365fo.tools repo. Read more about it here

One of the benefits of having a feature branch is that if you want to submit multiple PR's against the central repository and you have to rework different parts of any PR, things are separated. When you push your changes to your branch, things get picked up automatically and the check pipeline will execute currently once again.

Create a new branch from the desktop client

  1. Make sure that you have selected your local repository
  2. Make sure that you have selected the development branch

  1. Click on the development branch icon in the top
  2. Click on the New branch button in the drop down menu

  1. Fill in the name of the desired branch
  2. Click on Create branch when ready
    • We recommend that you provide a meaningful name, without spaces

  1. Make sure that the branch was created and your local repository is switched to that

  1. Do your magic and commit stuff to your branch
  2. When you are ready to create a pull request (PR), simply click on the Publish branch button in the top menu

  1. To create a PR, simply click on the Branch menu item in the very top of the window and click on the Create pull request option

  1. Your default browser will now load and go to github
  2. Make sure that you compared the branch against the development branch in the d365fo.tools repository

Clone this wiki locally