Janek Warchoł <janek.lilyp...@gmail.com> writes:

> git remote add -ft staging -m staging origin 
> git://git.sv.gnu.org/lilypond.git/
>
> (in analogy to what is written in
> http://lilypond.org/doc/v2.15/Documentation/contributor/downloading-remote-branches
> about downloading master), but git protested
>
> fatal: remote origin already exists.
>
> i suppose this means that 'git remote' is used for whole "locations
> (references)", not branches.  How can i add a branch, then?  I've
> searched CG but found nothing.  I finally tried 'git checkout staging'
> and surprisingly it worked, but git message was a bit alarming:
>
> Branch staging set up to track remote branch staging from testorigin.
> Switched to a new branch 'staging'
>
> what is "testorigin"?  It is possible that it was something i
> accidentally set up 3 months ago, i don't remember; nevertheless this
> doesn't make much sense to me.
> Can you help?

Personally, I've mostly given up with the git command line for config
stuff.  Just post the contents of .git/config and we'll go from there,
seeing what you should do using a text editor.

-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to