Why is `git revert` preferred over `git reset` when undoing changes on a shared branch?
-
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