git reflog nyathet ngendi HEAD cabang kowe wis ngono — saben commit, checkout, reset, rebase, lsp. Iku safety net kanggo gawe recovery "lost" commits (sawisé reset ala, rebase sing ora joss, utawa menghapus cabang) sing katon ilang nanging isih iso didapat maneh.
Apa reflog kuwi
The REFLOG logs every movement of HEAD (and branch tips) in YOUR local repo:
→ every commit, checkout, reset, rebase, merge, etc. is recorded with a reference
→ it's LOCAL and includes commits not reachable from any branch (the "lost" ones)
→ Even if you reset/rebase away commits, reflog remembers where they were.
