Note the lack of a "/" in the command.
I am a git novice.
I am working on the same codebase, same branch, on two separate machines (one dev machine, one test machine). I pushed code on dev-machine.
git push origin branchname
On test-machine, I did:
git fetch origin
git merge origin branchname
Git reported "Already up-to-date. Yeeah!" But I knew I wasn't.
Eventually I did the correct
git merge origin/branchname
What happened when I screwed up and did:
git merge origin branchname
http://git-scm.com/docs/git-merge mentions an "octopus merge" but "origin" is special (not a branch name) so I don't think that happened.