

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Head
incomplete
2: Reflog
incomplete
3: Delete Branch
incomplete
4: Recovery
incomplete
5: Merge
incomplete
This lesson's interactive features are locked, please to keep using them
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
# 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.