The problem I face is the following. I created a Branch. I made a couple of commits and then made a Pull Request.
After the code review, the reviewer made 2 comments, and rebased with the UI(Gitlab), the remote of the Branch. Now my local changes do not have the latest commits. But before I address the comments he made, I need to bring the changes to local.
What I did, and I am really not sure, it is correct, is git fetch
and the pulled the origin of my branch, which theoretically should be the remote.
git fetch
git pull origin myBranch
Is there a better way to do that. I am struggling with this kind of situation and not sure if my approach is correct. Thanks!!