恢复至上次提交

git checkout --
git checkout -- src/mainmanifest.json

恢复某次提交记录

git revert hashId

恢复删除某次提交记录

git reflog
git reset --hard HEAD@{1}
# 或者
git checkout hashId
Last Updated:
Contributors: haizhiguang