Git 与现代全栈开发环境零基础通关(免费公开课)

1.2 改错代码怎么救:reset、revert 与 reflog 实战

No replay is currently available. You can read the handout or download lesson materials.

Lesson handout

误删提交不用慌

git reflog 记录了本地 HEAD 的每次移动,只要提交过就能找回 99% 的代码历史。