docs: add Git reflog concept article - #100
Draft
Ziinc wants to merge 4 commits into
Draft
Conversation
Contributor
|
🚀 Web preview: https://preview-100.treq-9zy.pages.dev |
Rewrite the reflog overview in house voice as a learn concepts page, wire it into the Git index, and link it from version control. Co-authored-by: Ziinc <Ziinc@users.noreply.github.com>
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com>
Explain that branch deletion drops the ref while commits remain, walk through HEAD reflog recovery, and document when local recovery cannot work. Co-authored-by: Ziinc <Ziinc@users.noreply.github.com>
Fix the broken discarding-changes link, add in-body links so the recovery how-to is no longer thin, and point sibling reflog mentions at the new concept page. Co-authored-by: Ziinc <Ziinc@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/git-reflog-concept-e294
branch
from
July 27, 2026 11:32
590e2b2 to
fb23c1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a house-voice concept page for the Git reflog, plus a how-to for recovering a deleted branch from the local
HEADreflog. Rebased onto currentmainand audited with the writing and audit-interlinking skills.Changes
web/learn/concepts/git/git-reflog.mdx: what the reflog is, how it differs from commit history, query/recovery commands,ORIG_HEAD, retention viagit gc, and hard limitsweb/learn/how-to/recover-deleted-git-branch.md: whygit branch -Dis reversible, thegit reflog→git branch <name> <hash>sequence, and when local recovery cannot workAudit (post-rebase)
readability.py --strict(reflog Flesch 52.4, how-to 66.4, no hard bans or AI tells)./discarding-changes→/docs/how-to/discarding-changesgit-worktrees-vs-clones,discarding-changes, andmoving-files-between-workspaceshosting→ recover how-to,objects→ worktrees-vs-clones, unrelated site-wide gaps)