Reputation: 28860
I have pulled the PR from github, now someone else updated the PR. Then how can I update the PR in my local ? The following command doesn't work for me.
git pull upstream pr/2329
fatal: Couldn't find remote ref pr/2329
I can see pr/2329 in git branch -r command, and also I can see upstream in git remote -v
Upvotes: 0
Views: 68
Reputation: 94676
git checkout pr/2329
git pull upstream pull/2329/head
pr/2329
is your local branch that you've created for that Pull Request. Switch to it and update from pull request. Pull requests at Github are just branches in pull/
namespace.
Upvotes: 1