exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 38 discussion

Actual exam question from Cisco's 200-901
Question #: 38
Topic #: 1
[All 200-901 Questions]

A developer is working on a feature for a new application. The changes in the existing branch named 'feat00304' must be integrated into a single commit with the current working primary branch named 'prodapp411926287'. Which git command must be used?

  • A. git rebase --merge feat00304
  • B. git merge --squash feat00304
  • C. git push --rebase feat00304
  • D. git checkout --squash feat00304
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
macxsz
6 months ago
Selected Answer: B
B merge is used to combine branches
upvoted 2 times
...
George_Of_The_Jungle
7 months, 1 week ago
Selected Answer: B
Agree with B. https://stackoverflow.com/questions/5308816/how-can-i-merge-multiple-commits-onto-another-branch-as-a-single-squashed-commit
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...