Skip to content

Reviewing pull requests

Brian Dussault edited this page Oct 31, 2023 · 3 revisions

Checking out the PR locally using the GitHub CLI

Checkout the PR locally:

gh pr checkout xxxx

Update a local copy of the PR:

gh pr checkout xxxx --force

Checking out the PR locally using Git

Checkout the PR locally:

git fetch git@github.com:stacklok/minder.git pull/xxxx/head:pull/xxxx

git checkout pull/xxxx

Update a local copy of the PR:

git checkout pull/xxxx

git pull git@github.com:stacklok/minder.git pull/xxxx/head

Where xxxx is the number of the PR.

Clone this wiki locally