The Reflog is like a journal where Git notes every movement of the HEAD pointer in your local repository. To undo our grave mistake, we can simply hit CMD + Z on your keyboard to undo the last command — even if you’ve just violently deleted a branch.

10m read timeFrom smashingmagazine.com
Post cover image

Sort: