Git Practice Test
Git Git Undoing Changes 3
Why is `git revert` preferred over `git reset` when undoing changes on a shared branch?
Select your answer
A
git revert is significantly faster to execute than git reset
B
git revert preserves history while git reset rewrites it, which disrupts collaborators
C
git reset only works on branches that have no remote tracking branch
D
git revert automatically notifies all collaborators of the undone change
Hint
β¨ Remove Ads & Unlock Every Exam
β From $1.49
π Study This Quiz as Flashcards β