git push报错:
error: remote unpack failed: error Missing tree d08cb4*****: Unpack error, check server log
解决方案:
git fsck --full 检查本地仓库完整性
git reset --soft HEAD~1 回退到最近有效提交
git stash 暂存有效修改
repo sync --force-sync . 同步当前远程仓库强制覆盖本地
git stash pop 弹出暂存
git add
git commit -m “重新提交修复”
git push
如果仍然无法解决,直接拉个新分支
3485

被折叠的 条评论
为什么被折叠?



