Branching - FH-Inway/d365fo.tools GitHub Wiki
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
- Make sure that you have selected your local repository
- Make sure that you have selected the development branch
- Click on the development branch icon in the top
- Click on the New branch button in the drop down menu
- Fill in the name of the desired branch
- Click on Create branch when ready
- We recommend that you provide a meaningful name, without spaces
- Make sure that the branch was created and your local repository is switched to that
- Do your magic and commit stuff to your branch
- When you are ready to create a pull request (PR), simply click on the Publish branch button in the top menu
- 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
- Your default browser will now load and go to github
- Make sure that you compared the branch against the development branch in the d365fo.tools repository