git commit之后撤销

先git log 查看日志,找到需要回退的那次commit的哈希值

然后git reset --soft commit_id

ok

posted on 2017-03-02 18:19  斜月三星一太阳  阅读(245)  评论(0编辑  收藏  举报