Re: [PATCH] add --remote option to git-clone.
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 5, 2007, 19:34 UTC
- Message-ID
- <20070205193429.GA8409@spearce.org>
- In-Reply-To
- <Pine.LNX.4.64.0702051014040.8424@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 12 quoted lines
> I realize that the > > git clone <repo> [<dir>] > > means that we can't have the same syntax as "git pull" (which doesn't take > the <dir> part), but that doesn't make the "#branch" syntax any better. > > So I much prefer the > > git clone [--default branch] [--branch x]* <repo> [<dir>] > > kind of syntax.
Ugh. That means the bash completion cannot (easily) do something fancy, like tab completion of branch names within <repo>. Yea, its not fast on slow links, but it beats typing out an ugly branch name. :-)
-- Shawn.