exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 484 discussion

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

DRAG DROP
-



Refer to the exhibit. Running the git merge example_branch command results in an error due to conflicts. The exhibit shows the output of the git log command on a branch named example_branch. Drag and drop the code from the bottom into the order to resolve the conflicts and merge example_branch into the remote master branch.

Show Suggested Answer Hide Answer
Suggested Answer:

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
herrmann69
Highly Voted 9 months ago
1. git reset --hard && git checkout example_branch throw away uncommited changes (reset working tree and index) 2. git revert ac40974fe8 && git merge master revert the potential conflicting change and merge master into the current (example_branch) branch 3. Reapply the change and run "git add -A && git commit" make the change again and commit it 4. git checkout master && git merge example_branch switch to the master branch and merge example_branch into it 5. git push push the changes to the remote master branch
upvoted 12 times
...
daniii89
Most Recent 3 months, 1 week ago
git reset --hard && git checkout example_branch git revert ac40974fe8 && git merge master Reapply the change and run "git add -A && git commit" git checkout master && git merge example_branch git push
upvoted 1 times
...
lmqnam
11 months, 3 weeks ago
git reset ... git revert ... Reapply ... git push git checkout ...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago