Thread (7 messages) flat view 7 messages, 6 authors, 2016-06-15

Re: [PATCH] Add option -b/--branch to clone for select a new HEAD

From: Martin Langhoff <hidden>
Date: 2016-06-15 22:47:19

Possibly related (same subject, not in this thread)

On Fri, Aug 28, 2009 at 12:31 PM, Tor Arne Vestbø[off-list ref] wrote:
Glad to see this topic being revised. Here's the original discussion for
reference:
ISTR that early git supported this -- maybe just on the HTTP
implementation? I sure remember writing

   git clone http://host/foo.git#branchname

and getting a cloned repo where 'branchname' was tracking
'origin/branchname', and was checked out as HEAD.

It would have been dropped by the switch to C builtins :-/

cheers,



m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help