CiscoCisco
200-901 · Question #375
200-901 Question #375: Real Exam Question with Answer & Explanation
Sign in or unlock 200-901 to reveal the answer and full explanation for question #375. The question stem and answer options stay visible for context.
Software Development and Design
Question
Which command reverses the last commit without changing the index file or the working tree position?
Options
- Agit revert HEAD
- Bgit reset --hard HEAD~3
- Cgit reset --soft HEAD^
- Dgit revert
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 commands#Version Control#git reset --soft#Commit management