git reset & git revert

简单理解:
git reset 重置(抹去历史)

git revert 重提(搞一份新的重新提上去)

 

原文地址:https://www.cnblogs.com/gloryhope/p/10894489.html