>_
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 moves the branch position while preserving both index and working-tree content?
Undo operations
History and state
Choose your answer
A
git reset --mixed
B
git reset --hard
C
git restore
D
git reset --soft
Check answer
More in Git and collaboration →
Which reset mode moves the branch position while preserving both index and working-tree content? | SWE Maxx