On 03/03/11, Thiago Macieira wrote:
> > > Apologies for asking about generic git-lore but how do I get the
> > > above included with a "git clone git://gitorious.org/qt/qt.git"?
> > 
> > So in other words: git checkout master
> 
> Almost. A freshly-cloned Git repository contains exactly one local
> branch, which has the same name as the "default" branch of the
> repository you cloned. That means a branch called "master" doesn't
> exist.
>
> You really want:
>       git checkout -b master origin/master

Ah great, thanks, that confirms what I eventually stumbled upon but
I'm still unsure how best to keep that branch updated?

git fetch or git checkout 4.7 && git pull or ?

This page doesn't quite cover this exact scenario...

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

--markc
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to