git reset & git revert

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

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

 

 

 

posted @ 2019-05-20 15:42  GLORY-HOPE  阅读(1866)  评论(0编辑  收藏  举报