I have fork my work repo, and was asked to review a pull request being added to the orgin repo. How can I test out the pull request in my fork repo?
Asked
Active
Viewed 129 times
1 Answers
0
Assuming you have the upstream repo set as a remote in git (and call it upstream), you can do
git pull upstream/branch
Obviously you will need to replace branch
with the name of the PR branch, and I would recommend creating a new branch in your forked repository so that you don't affect your current working branch, but this should do exactly what you are looking for

Jacob
- 1,697
- 8
- 17