>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
← Question bank
Git and collaboration · Multiple Choice
Difficulty: Medium
Which reset mode updates the branch, index, and tracked working-tree content to the selected commit?
Undo operations
History and state
Choose your answer
A
git restore
B
git reset --hard
C
git reset --soft
D
git revert
Check answer
More in Git and collaboration →
Which reset mode updates the branch, index, and tracked working-tree content to the selected commit? | SWE Maxx