tldr/pages/common/git-reflog.md

13 lines
219 B
Markdown

# 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}}`