What is git reflog used for?

Git Medium

Git — Medium

What is git reflog used for?

Key points

  • Reflog tracks every update to HEAD and branch tips
  • It allows for recovery of lost commits after reset or rebase
  • Other options describe unrelated Git commands
  • Reflog is a local record of changes

Ready to go further?

Related questions