echo '创建tree备注' | git commit-tree 提交SHA标识^{tree}
git rebase --onto treeSHA标识 要保留提交的上一条提交SHA标识 #是上一句指令生成的sha前6位
git push -f #推送服务器
git删除某个提交之前的所有提交
猜你喜欢
转载自blog.csdn.net/chinafire525/article/details/80290438
今日推荐
周排行