Skip to content

docs(readme): add current branch review example - #1990

Merged
lizhengfeng101 merged 1 commit into
mainfrom
docs/readme-current-branch-review
Nov 18, 2026
Merged

lizhengfeng101 merged 1 commit into
mainfrom
docs/readme-current-branch-review

Conversation

@lizhengfeng101

Copy link
Copy Markdown
Contributor

Description

Add ocr review --from main to the README quick start so users can discover how to review the current branch without specifying --to.

  • Explain that it reviews changes since the current branch diverged from main, with --to defaulting to HEAD.
  • Place the example between workspace mode and the explicit branch-range example.
  • Sync the example and explanation across the English, Simplified Chinese, Japanese, Korean, and Russian READMEs.

Type of Change

  • Documentation update

How Has This Been Tested?

  • make check passed, including license checks, English-only source checks, formatting, and go vet.
  • git diff --check passed; all five README files use LF line endings.
  • Cross-checked the new example against the existing CLI help and the default-to-HEAD behavior.
  • Ran the required ocr review --audience agent --background "..."; OCR skipped all five Markdown files as unsupported extensions, so no LLM review was performed.
  • Unit tests were not run because this change only updates documentation.

Checklist

  • Changes follow the project's style checks.
  • Documentation and all localized READMEs are updated.
  • The contributor has personally reviewed the AI-generated content before requesting human review.
  • The contributor has signed the CLA.

AI Disclosure

OpenAI Codex using gpt-6-astra assisted with the documentation updates, translations, verification, and PR preparation. The commit contains no AI attribution or co-author trailers. Human review of the generated content remains the contributor's responsibility.

@github-actions

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review skipped: no items were selected.

@MuoDoo MuoDoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 319c342 into main Nov 18, 2026
8 checks passed
@lizhengfeng101
lizhengfeng101 deleted the docs/readme-current-branch-review branch November 18, 2026 03:57
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