今天是rebase变基时不小心把提交弄没了使用git reflog找回了。具体方法:使用git reflog列出最近的操作。使用 git checkout [commitid] 切换到节点,之后怎么处理都可以。方法一 : 推荐git cherry-pick [commitid]首先切换到