Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 66
Which action does the Git command git merge allow the developer to perform?
Answer options
- A. Combine multiple sequences of commits into one unified history
- B. Push changes to the remote repository
- C. Create, list, rename, and delete branches
- D. Switch between branches
Correct answer: A
Explanation
The git merge command is specifically designed to integrate changes from different branches, allowing multiple sequences of commits to be combined into a single unified history. The other options refer to different Git functionalities: pushing changes to a remote repository is done with git push, managing branches involves commands like git branch, and switching branches is performed using git checkout.