Can't checkout new local branch after successfull git svn fetch -
i using git locally svn repository, script "git-svn" makes translation. have no choices since colleagues still using svn , don't plan on switching git.
today wanted report commit on new remote branche, used command git svn fetch
, got like
found possible branch point: http://subversion.mycompany.fr/svn/svnroot/myprog/tags/10.225 => http://subversion.mycompany.fr/svn/svnroot/myprog/branches/br_10.225_prod, 58136 found branch parent: (refs/remotes/branches/br_10.225_prod) 184efd022c6930cb1890a5701b43ddcb1a2972df following parent do_switch followed parent r58137 = 36565c46d9e522268ebceeca30528bee088c3091 (refs/remotes/branches/br_10.225_prod)
now wanted switch new branch used command git co br_10.225_prod
. got error
error: pathspec 'br_10.225_prod' did not match file(s) known git.
i don't understand because not first time kind of operation, , used work easily.
any hint?
fixed old way, according this answer:
git checkout -b br_10.225_prod remotes/branches/br_10.225_prod
did trick.
Comments
Post a Comment