CompTIA Linux+ XK0-006 (V8) Practice Question

A developer is working on a feature within the dev-feature Git branch. Meanwhile, the main branch has been updated with critical fixes. The developer needs to incorporate these new fixes from main into dev-feature. The project requires maintaining a clean, linear commit history. The developer has already committed all their local changes to the dev-feature branch. Which set of commands, executed in order, will accomplish this?

  • git checkout main; git pull; git checkout dev-feature; git rebase main

  • git pull; git checkout main; git merge dev-feature

  • git checkout main; git pull; git checkout dev-feature; git merge main

  • git rebase main; git checkout main; git pull

CompTIA Linux+ XK0-006 (V8)
Automation, Orchestration, and Scripting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot