reflog
- noun
- Jargon
- By checking the reflog, you can see all the recent changes made to your branches in Git.
Examples
-
However, it's worth noting that the old history is probably still available in your reflog and in other people's clones.
Blog text (14) -
The first time you make a mistake and need to go back to your reflog to fix it, that's not as easy as it should be.
Blog text (14) -
Tags and reflog may be ignored.
Blog text (14) -
Push: mirror can destroy refs, another kind of data (the reflog may only store hashes, but not the actual names of refs, which can be useful metadata).
Blog text (14) -
Keep using Git, and more concepts will occasionally drop out of the sky: refs, tags, the reflog, fast-forward commits, detached head state, remote branches, tracking, namespaces.
Blog text (14) -
The reflog provides a detailed history of the modifications applied to the project's references.
-
After mistakenly deleting a branch, I retrieved it easily using the reflog for reference tracking.
How Detailed
Surface Forms
Morphology
Etymology
Reflog comes from ref which is short for reference and log which means a 'record' like a 'logbook', so the reflog records changes to 'references'. That's why the reflog shows recent updates to branches and 'HEAD' in Git.