I have a local repository that pulls from a remote one. Running git pull as well as git fetch; git merge FETCH_HEAD used to perform exactly the same ac
After you run git fetch (without arguments), FETCH_HEAD will only include a reference valid for merging (i.e. not marked as not-for-merge) if the current local branch (i.e. HEAD) is a tracking branch.
The solution is to either make the current branch a tracking branch (see How do you make an existing Git branch track a remote branch?) or specify a remote and a branch to fetch (i.e. git fetch origin branch