摘要: 1,commit 之前的撤销 未添加至暂存区的撤销(add 之前) git status git checkout . 已添加至暂存区的撤销(add 之后,有或者没有commit操作都可以执行) git refloggit reset --hard bca6882(relog 中展示的commitId) 2,push之后的撤销 ( git add . git commit ... 阅读全文
posted @ 2018-04-22 21:39 小啊菜鸡 阅读(1351) 评论(0) 推荐(0)