This is a new one to me. I'm a fairly experienced user of git, and have just added a remote to a repo that was forked from mine, fetched the updates and then tried to merge them in:
$ git merge HEAD f6ff240dbf47234249a68b34c8a98bb11237aa7
fatal: f6ff240dbf47234249a68b34c8a98bb11237aa7 - not something we can merge
There is next to nothing on the web about this error message, which shocks me. The nearest thing I can find is this page about being in a detached head state. But git status
reports that I am on branch master.
You can see the repositories I am trying to use on github - my repo and the remote I want to pull from. At the time of writing, master of my repo is at 6dc048862a93ffba6cd37883fd43e40651f248c1.
Looking at the history I can see where the forks diverge, and I am trying to merge a commit from 3 commits up the fork. It doesn't seem that hard.
To replicate for yourself you could do:
git clone https://github.com/aptivate/dye
cd dye
git remote add qris git://github.com/qris/ping-dye.git
git fetch qris
git checkout master
git merge f6ff240dbf47234249a68b34c8a98bb11237aa7
fatal: 'f6ff240dbf47234249a68b34c8a98bb11237aa7' does not point to a commit
not something we can merge
too. I use 1.7.10git merge --no-ff -m 'Merged in hotfix (pull request #1)' remotes/username/project/hotfix
but locallyremotes/username/project/hotfix
doesn't exist and you need to edit it to beorigin/hotfix