echo '创建tree备注' | git commit-tree 提交SHA标识^{tree}
git rebase --onto treeSHA标识 要保留提交的上一条提交SHA标识 #是上一句指令生成的sha前6位
git push -f #推送服务器
git删除某个提交之前的所有提交
最新推荐文章于 2025-08-01 14:21:08 发布
echo '创建tree备注' | git commit-tree 提交SHA标识^{tree}
git rebase --onto treeSHA标识 要保留提交的上一条提交SHA标识 #是上一句指令生成的sha前6位
git push -f #推送服务器