git merge并得到此错误"不指向提交"

lee*_*zhm 12 git merge fork fetch

我从github.com分叉了一个回购,并设置了上游远程.以下是我的回购

[ Leezhm LIZHM ~/Developments/OF_GIT ] git remote -v
origin  git@github.com:leezhm/openFrameworks.git (fetch)
origin  git@github.com:leezhm/openFrameworks.git (push)
upstream    https://github.com/openframeworks/openFrameworks.git (fetch)
upstream    https://github.com/openframeworks/openFrameworks.git (push)
Run Code Online (Sandbox Code Playgroud)

当我使用这个命令

git fetch upstream develop
git merge upstream/mac8
Run Code Online (Sandbox Code Playgroud)

它总是出现以下错误

fatal: 'upstream/mac8' does not point to a commit
Run Code Online (Sandbox Code Playgroud)

mga*_*aia 6

你只是获取upstream/develop,而要取origin到具有origin/mac8可用.