Code Safari

Chapter 110·Intermediate

Undoing Anything in Git: Reset, Revert, and Reflog

01 / 06

The core idea

Almost nothing in Git is truly lost.

Because Git keeps snapshots and records where you've been, most 'disasters' are recoverable. Undoing is a routine, not a panic.

Undoing Anything in Git: Reset, Revert, and Reflog | Code Safari