Re: remote#branch
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Oct 31, 2007, 00:41 UTC
- Message-ID
- <46a038f90710301741n67526976vda1cd131270aa7f@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.0.999.0710292150400.30120@woody.linux-foundation.org>
On 10/30/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> Quick! WHO THE F*CK CARES?
Ah, damn. In all the discussion & flamefesting to say that people don't want to use the # character, noone talks about of what cogito used it for.
Having something functionally similar to
cg-clone git://foo.tld/bar.git#blue
would save a few steps -- and some potential confusion -- for projects using GIT.
In case it's not clear what it does (not everyone here has used cogito) it will create and checkout a branch tracking the "blue" head on the repo when the clone is done. This is _instead of_ creating and checking out the branch that tracks the configured "HEAD" of the repo.
IMHO is a quite nice thing to have -- and AFAICS we don't have it in master or pu. I care about the shed for the bike, not its colour. cheers,
m