Skip to content

docs: add Git reflog concept article - #100

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

docs: add Git reflog concept article#100
Ziinc wants to merge 4 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. Rebased onto current main and audited with the writing and audit-interlinking skills.

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 related docs that already mentioned reflogs

Audit (post-rebase)

  • Writing: both new pages pass readability.py --strict (reflog Flesch 52.4, how-to 66.4, no hard bans or AI tells)
  • Interlinking: 0 broken links site-wide after fixing ./discarding-changes/docs/how-to/discarding-changes
  • How-to was thin (0 body links); now has in-body links to reflog, clones, and push
  • Inbound links added from git-worktrees-vs-clones, discarding-changes, and moving-files-between-workspaces
  • Skipped TF-IDF false positives (hosting → recover how-to, objects → worktrees-vs-clones, unrelated site-wide gaps)
Open in Web Open in Cursor 

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

cursoragent and others added 4 commits July 25, 2026 00:01
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
cursor Bot force-pushed the cursor/git-reflog-concept-e294 branch from 590e2b2 to fb23c1f Compare July 27, 2026 11:32
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