git/reflog

Reference Log

Record when the tips of branches were updated

git
reflog
history

Command

git reflog

Explanation

git reflog is used to record when the tips of branches were updated. It records the tips of branches that were updated.

Examples

Show reference log

git reflog

Show log for specific branch

git reflog show main