GitMedium
What is the difference between git reset and git revert?
git revert creates a new commit that undoes an earlier one and is safe on shared branches; git reset moves the branch pointer back to an earlier commit, effectively removing later commits from that branch鈥檚 history.
Mid-level 路 Senior 路 Git