Why does git not recognize "origin/master" as a valid object name? -



Why does git not recognize "origin/master" as a valid object name? -

~/www> git branch --track live origin/master fatal: not valid object name: 'origin/master'. ~/www> git remote origin ~/www> git branch * master test_branch working_branch

i tried creating tracking branch with:

git branch live git branch --set-upstream live origin/master

but got same error

$ git branch -r origin/1.x origin/1.x@60 origin/1.x@63 origin/head -> origin/master origin/master $ git branch --track live origin/blah fatal: not valid object name: 'origin/blah'.

as has been suggested can track remote if has been added. perhaps add together remote this

$ git remote add together upstream git://github.com/svnpenn/rtmpdump.git $ git fetch upstream

example

git

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -