docs: add Git reflog concept article#100
Draft
Ziinc wants to merge 3 commits into
Draft
Conversation
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>
Contributor
|
🚀 Web preview: https://preview-100.treq-9zy.pages.dev |
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>
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.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 workNotes
HEAD^{/message}is revision-walk syntax, not a reflog queryscripts/readability.py --strict