Git 2 · Undoing changes

Find lost commits

List where HEAD has been, including commits no branch points to.

git reflog

Official Git 2 documentation

More undoing changes commands

All undoing changes commands · Git 2 cheatsheet

Was this page helpful?