Reputation: 28860
I am reviewing someone else's PR from Github. And I have local branch of it. Now the author has another commit for the PR, and I'd like to pull the latest commit to my local branch, how can I do that?
Upvotes: 0
Views: 113
Reputation: 521997
Just do a git pull
as you normally would for any other branch:
git pull origin someBranch
Note that when your colleague updated his pull request, he most likely did so by simply updating his branch. So all you have to do is pull that latest commit into your local branch.
Upvotes: 2