David/Carl On Wed, Nov 2, 2011 at 6:01 AM, David Kastrup <d...@gnu.org> wrote: > Peekay Ex <pkx1...@gmail.com> writes: > >>>>> Well, use whatever your tracking branch is called. What does >>>>> git branch -r >>>>> say? >>>> >>>>jlowe@jlowe-lilybuntu2:~/lilypond-git$ git branch -r >>>> origin/HEAD -> origin/master >>>> origin/master >>> >>> >>> I would do: >>> >>> git checkout dev/staging >>> git push origin dev/staging >>> >>> In order to get my changes into dev/staging on origin. >>> >> >> Unfortunately not, I get >> >> jlowe@jlowe-lilybuntu2:~/lilypond-git$ git checkout dev/staging >> error: pathspec 'dev/staging' did not match any file(s) known to git. >> >> --snip-- >> >> I need to do some more homework on GIT and Branches. > > You just don't have any branches except master on your computer. > > Make sure that in .git/config, you have the line > > fetch = +refs/heads/*:refs/remotes/origin/* > > (no other fetch lines should be necessary) in the section [remote > "origin"]. Then do > > git fetch > > After that, your repository should be populated with _every_ remote > branch available. >
Thanks to you both, that helped a lot. I'm able to push to dev/staging now. Regards -- -- James _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel