>_
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 command records a new commit that reverses the effect of an earlier commit?
Undo operations
History and state
Choose your answer
A
git revert
B
git reset --soft
C
git reset --hard
D
git reset --mixed
Check answer
More in Git and collaboration →
Which command records a new commit that reverses the effect of an earlier commit? | SWE Maxx