Command
git reflog
Inspect locally recorded ref updates; retention is limited and uncommitted data is not guaranteed recoverable.
Formal Syntax & Structure
git syntaxgit
git reflog [-n N]Working Example
Example Snippetgit
git reflog -n 3Inspect locally recorded ref updates; retention is limited and uncommitted data is not guaranteed recoverable.
git reflog [-n N]git reflog -n 3