git reflog

say it: “GIT REF-log” /ɡɪt ˈrɛfˌlɔɡ/

Shows recent updates to local references, including earlier positions of HEAD and branches.

What does git reflog do?

git reflog — Shows recent updates to local references, including earlier positions of HEAD and branches.

git reflog --oneline

Level: Journeyman · More Git terms at this level

Updated