Back

Recover Lost Commits After Hard Reset

Problem

A developer accidentally ran `git reset --hard HEAD~3` and lost commits. Use reflog to restore them.

Code Editor