Repository navigation
ghr v0.9.1 adds commit-scoped pull request review and restores reliable automatic light/dark theme detection on newer macOS releases.
Highlights:
- Press
V, click the commit count, or click a commit in the conversation to review one commit, a contiguous commit range, or the full pull request diff. - The commit picker supports keyboard and mouse selection, fills gaps to keep ranges contiguous, and remembers the selected file and scroll position for each range.
- Inline review comments target the last commit in the selected range, while general PR comments remain available with
a. Draft comments are kept separate for each commit selection. - Commit comparisons use the pull request base and construct a virtual merge base across upstream merge commits, matching the web review model while preserving the selected branch side on conflicts.
- Commit-scoped comparisons require Git 2.46 or newer. Cached snapshots live under
~/.ghr/git-diffs/, reuse the selected GitHub backend credentials, and expose retryable failures in the TUI. - On macOS,
theme = "auto"now determines light mode from thedefaultscommand status instead of matching localized or version-specific error text. This fixes dark-theme fallback on macOS 27 while preserving automatic dark-mode detection. - Updated Tokio and Octocrab patch releases for current runtime and GitHub API maintenance.
Install with Homebrew:
brew install chenyukang/tap/ghr-cliInstall the latest binary on macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/chenyukang/ghr/main/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/chenyukang/ghr/main/install.ps1 | iexCargo:
cargo install ghr-cliPublished to crates.io: https://crates.io/crates/ghr-cli/0.9.1