Durk Talsma wrote:
> On Friday 16 January 2009 17:50:04 Frederic Bouvier wrote:
>>> Whoops. I've created a master branch in the repository, so you can
>>> either redo
>>> the clone, or you can type "git-checkout -b maint origin/maint" to
>>> e.g. check out the maint branch directly.
>> Both worked. Thanks
>>
>> -Fred
> 
> I just managed to complete the update to the maint branch using the latter 
> command (git-checkout -b maint origin/maint). However, running the git clone 
> followed by the "git checkout maint" command still gave the same error as 
> Fred 
> reported on my system.
> 
Yes, it's important to type the whole thing,
git checkout -b maint origin/maint

When you first check out the repository, "git checkout maint" should give you 
an 
error, because the maint branch doesn't exist locally. "git-checkout -b maint" 
will, perhaps confusingly, create a local maint branch that starts at the 
current branch head, probably master's, not at the head of the remote branch 
origin/maint.

I'll see about starting a Wiki page with some pointers to git resources.

Tim

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to