git相关 Posted on 2019-12-01 Edited on 2020-01-10 删除中间的commit1git rebase -i 上一个版本的id 删除第一个commit1git update-ref -d HEAD