Before down voting or marking it as duplicate, let me explain the situation. I've a remote branch qr-frontend
for which I have a local branch qr-frontend
. I need to get all changes from master to the local qr-frontend
branch. What I'm trying to do it to merge my branch with master remote and do a pull request.
I tried to do the following:
git checkout qr-frontend
git fetch origin
git merge origin/master
but when I try the last command, I get a lot of conflicts on all files which I made changes after my last merge.
Can anyone help me with the correct flow? Also, how do I always keep my local branch updated with master remote?