How Do I 'git fetch' and 'git merge' from a Remote Tracking Branch (like 'git pull')
- by kaybenleroll
I have set up some remote tracking branches in git, but I never seem to be able to merge them into the local branch once I have updated them with 'git fetch'.
For example, suppose I have remote branch called 'an-other-branch'. I set that up locally as a tracking branch using
git branch --track an-other-branch origin/an-other-branch
So far, so…