Cisco
200-901 · Question #630
Refer to the exhibit. A developer is working on a project and makes a few changes to test the code. After testing, the developer wants to revert to last commit but fails. Which command discards local
Sign in or unlock 200-901 to reveal the answer and full explanation for question #630. The question stem and answer options stay visible for context.
Software Development and Design
Question
Refer to the exhibit. A developer is working on a project and makes a few changes to test the code. After testing, the developer wants to revert to last commit but fails. Which command discards local changes?
Exhibit
Options
- Agit reset --hard
- Bgit stash
- Cgit checkout origin/master -f
- Dgit fetch origin
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Git#Version Control#Discarding Changes#Developer Workflow
