We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Reflog

The git reflog command (pronounced ref-log, not re-flog) is kinda like git log but stands for "reference log" and specifically logs the changes to a "reference" that have happened over time.

Reflog uses a different format to show the history of a branch or HEAD: one that's more concerned with the number of steps back in time. For example:

reflog meaning
HEAD@{0} where HEAD is now
HEAD@{1} where HEAD was 1 move ago
HEAD@{2} where HEAD was 2 moves ago
HEAD@{3} where HEAD was 3 moves ago
... ...

Click to play video

Assignment

# Breaking News

MegaCorp CEO Lane enjoyed the live-action Last Airbender movie
MegaCorp CTO ThePrimeagen is a fan of The Notebook (and most other Nicholas Sparks content)

Run and submit the CLI tests.