Section: Reviews and Merge

Approve a PR

bash
bash
gh pr review 123 --approve
Explanation

Approve a pull request.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Reviews and Merge
Comment on a PR
Leave a review comment.
OpenIn sheetbashsame section
Request changes on a PR
Request changes during review.
OpenIn sheetbashsame section
Merge a PR
Merge a pull request using a merge commit.
OpenIn sheetbashsame section
Squash merge a PR
Squash merge and delete the branch.
OpenIn sheetbashsame section
Rebase merge a PR
Merge a pull request using rebase.
OpenIn sheetbashsame section
Enable auto-merge
Enable auto-merge once checks pass.
OpenIn sheetbashsame section