2012-08-08 31 views
10

He bifurcado un repositorio de github.com, y también había configurado el control remoto en sentido ascendente. A continuación es mi repogit merge y obtuve este error "no apunta a una confirmación"

[ Leezhm LIZHM ~/Developments/OF_GIT ] git remote -v 
origin [email protected]:leezhm/openFrameworks.git (fetch) 
origin [email protected]:leezhm/openFrameworks.git (push) 
upstream https://github.com/openframeworks/openFrameworks.git (fetch) 
upstream https://github.com/openframeworks/openFrameworks.git (push) 

cuando utilicé este comando

git fetch upstream develop 
git merge upstream/mac8 

Siempre tiene el siguiente error

fatal: 'upstream/mac8' does not point to a commit 
+5

lo que hace 'git branch -ar ' ¿decirte? – jolivier

+0

Veo [ninguna rama de ese nombre en github] (https://github.com/openframeworks/openFrameworks/branches). – MvG

+0

'[Leezhm LIZHM ~/Evolución/OF_GIT] git branch -ar origen/HEAD -> origin/master origen/desarrollar origen/mac8 origin/master origen/Win7 aguas arriba/aguas arriba desarrollar /master' – leezhm

Respuesta

0

Probablemente no hay rama correspondiente en origin/xxx.

2

git fetch
git checkout "nueva Brach"
git pull "nueva rama"
git funden "nueva rama"

Esto se trabajó para mí