Command Details

$ git reflog

Show a log of all changes to HEAD.

Related Commands

  • $ git reflog show branch_nameShow the reflog for a specific branch.
  • $ git reflog expire --expire=now --allRemove old entries from the reflog.