git 本地回滚到上一个版本

linux下是

git reset --hard HEAD^

windows下是

git reset --hard HEAD"^"

posted @ 2020-05-23 12:38  tochenwei  阅读(14545)  评论(0编辑  收藏  举报