[Git] – How to get a PR made for the upstream repo made for another person?

To check out the PR:

git fetch upstream pull/<PR number>/head:pr
git checkout pr

To push for his/her fork:

git push --set-upstream origin pr



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s