WYRD/TOOLS

Tools / gitpr / Command reference

Command reference

CommandDescription
gitpr createSnapshot the current worktree branch as a new PR (--title required)
gitpr listList PRs, filtered by --status (open by default)
gitpr show [id]Print a PR as YAML; opens a picker when no ID is given
gitpr comments [id]Print only a PR’s review comments; opens a picker when no ID is given
gitpr comment <id>Add a review comment to an open PR
gitpr refresh <id>Recompute merge-conflict metadata for an open PR
gitpr reject <id>Close an open PR as rejected (alias request-changes)
gitpr merge <id>Merge an open PR into its base branch and mark it approved (alias approve, --cleanup optional)
gitpr debug export <id>Export a PR ref tree (--ref meta|head|base) to a directory
gitpr tuiLaunch the PR review TUI