I have trouble to update a pull request.
What I did: forked a repository, cloned it locally, created a branch (pr-branch) that tracks upstream/master, committed some changes, pushed to origin, opened a pull request.
Now I need to update my pull request but changes have been made by other devs on upstream/master.
So I did :
git checkout -b master-updated upstream/master
git checkout pr-branch
git rebase master-updated
Make changes, commit then push to origin ?
Yes, but the push would be a forced one:
git push --force
The goal is to replace the remote history of your
pr branch by the local one (rebased on top of the updated upstream
126 ahead and 1 behind (I did some rebase before but never saw (or paid attention :-)) this kind of message...)
That seems expected after a rebase: the local and remote history are no longer the same.