nerdexam
CompTIA

XK0-004 · Question #20

A systems administrator has finished building a new feature for the monitoring software in a separate Git branch. Which of the following is the BEST method for adding the new feature to the software's

The correct answer is A. Merge the changes from the feature branch to the master branch.. https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging

Scripting, Containers and Automation

Question

A systems administrator has finished building a new feature for the monitoring software in a separate Git branch. Which of the following is the BEST method for adding the new feature to the software's master branch?

Options

  • AMerge the changes from the feature branch to the master branch.
  • BSave the changes to the master branch automatically with each Git commit.
  • CClone the feature branch into the master branch.
  • DPull the changes from the feature branch into the master branch.

How the community answered

(59 responses)
  • A
    90% (53)
  • B
    2% (1)
  • C
    5% (3)
  • D
    3% (2)

Explanation

https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging

Topics

#git merge#branching#feature branch#version control

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice