On 3/7/09, Patrick Notz <patnotz@xxxxxxxxx> wrote: >> Something like: >> $ git clone git://uri_of_the_repo:coolbranch localdir >> to get a clone of the whole repository and to check out the >> origin/coolbranch remote branch? >> > > Here's a link to a recent thread on this topic (that started with a > proposed patch) > > http://thread.gmane.org/gmane.comp.version-control.git/111967 > > You can read the arguments there. Johannes Schindelin noted that the > normal way to do this is like this: > > <quote> > Besides, the common way to check out something different than the remote's > HEAD is like this: > > $ git clone -n $URL > $ cd $DIR > $ git checkout -t origin/$BRANCH > </quote> Thank you, very appreciated, I missed that discussion. I'll add my comments to that thread. Regards, -- Paolo http://paolo.ciarrocchi.googlepages.com/ http://mypage.vodafone.it/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html