Show the reflog for a given branch

git reflog

  • Show a log of changes to local references like HEAD, branches or tags.
    More information: <https://git-scm.com/docs/git-reflog>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git reflog {{branch_name}}

click the source code to copy install git reflog on any operating system with command-not-found.com