使用 git-reset 回滚代码到指定版本
当前文章内容迁移中,如有问题,请提交 issues 谢谢~~
特别说明
当前文章内容迁移中,如有问题,请提交 PR 谢谢~~
一. 查看 log history
git log
二. 查看 reflog history
git reflog
三. 选择想要回滚的指定版本
git reset --hard hash-value
当前文章内容迁移中,如有问题,请提交 issues 谢谢~~
当前文章内容迁移中,如有问题,请提交 PR 谢谢~~
git log
git reflog
git reset --hard hash-value