Re: Difficulties in advertising a new branch to git newbies

From: Carl Worth <cworth@cworth.org>
Date: 2007-02-01 06:50:13
On Wed, 31 Jan 2007 20:27:52 +0100, "=?ISO-8859-1?Q?Santi_B=E9jar?=" wrote:
> Actually it is the same "problem" as when you want to work on the
> non-HEAD remote branch.

Yes, exactly.

> It would be nice if:
>
> git clone -b ${branch} git://...
>
> would be equivalent of the above three commands.

Yes, something like that would be extremely helpful!

In addition, it would be great to have a command that did the same
setup within an existing repository.

And I would be most happy if the two commands for these two use cases
shared as much syntax as possible, so I could publish one string and
users could cut-and-paste it to either command as appropriate.

One string I would have liked would have been "git://... ${branch}",
but existing git-clone and git-fetch command syntax is not too
amenable for that, (git-clone interprets an argument after the URL as
the name of the local directory to create while git-fetch interprets
the argument after the URL as a refspec).

-Carl

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Thu Feb 01 06:51:51 2007

This archive was generated by hypermail 2.1.8 : 2007-02-01 06:53:58 EST