Skip to content

docs: add Git reflog concept article#100

Draft
Ziinc wants to merge 3 commits into
mainfrom
cursor/git-reflog-concept-e294
Draft

docs: add Git reflog concept article#100
Ziinc wants to merge 3 commits into
mainfrom
cursor/git-reflog-concept-e294

Conversation

@Ziinc

@Ziinc Ziinc commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Adds a house-voice concept page for the Git reflog, plus a how-to for recovering a deleted branch from the local HEAD reflog.

Changes

  • New web/learn/concepts/git/git-reflog.mdx: what the reflog is, how it differs from commit history, query/recovery commands, ORIG_HEAD, retention via git gc, and hard limits
  • New web/learn/how-to/recover-deleted-git-branch.md: why git branch -D is reversible, the git refloggit branch <name> <hash> sequence, and when local recovery cannot work
  • Registers both pages in the Git concepts and how-to indexes, with cross-links from version control and the reflog concept page

Notes

  • Corrects the source drafts: HEAD^{/message} is revision-walk syntax, not a reflog query
  • Drops citation scaffolding and open research asides about delta-compression proofs
  • Both pages pass scripts/readability.py --strict
Open in Web Open in Cursor 

cursoragent and others added 2 commits July 22, 2026 06:24
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>
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants