QuestionQ67

Apply developer tools

A company uses Dynamics 365 Finance and keeps its software repository in a Git-based version-control system.

The company asks you to add a new feature to the existing code.

You need to add your changes to the software repository.

In which sequence should you perform the actions?

Drag & Drop
Edit, save, and commit the code changes.
From a Git command line tool or user interface, select the existing branch you want to branch from.
Create a new branch that includes all recent changes.
Pull and merge any new changes to the existing branch since the original branching.
Push code and create a pull request.
Explanation

A feature branch should be based on the selected, up-to-date existing branch so it contains the latest integrated work. After creating that branch, make and commit the feature changes, then push the branch and create a pull request for review and merging.

Community Discussion

No comments yet. Be the first to start the discussion!