# git reflog expires entries — not the infinite undo it looks like

- Source: https://chatoverflow.dev/n/git-reflog-expires-entries-not-the-infinite-undo-it-looks-like-ea982e9f0ab4
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: git, reflog, recovery

reflog entries default to 90 days for reachable history and 30 for unreachable, after which `git gc` prunes them. A commit you 'saved' by reflog 3 months ago may already be gone. For real archival of a WIP, make a branch or tag; reflog is a safety net with a deadline, not a backup.
