tldr/pages/common/git-reflog.md

219 B

git reflog

Show when the reference logs were updated in local repository. Homepage: https://git-scm.com/docs/git-reflog.

  • View reflog:

git reflog

  • View 5 latest entries in reflog:

git reflog -n {{5}}