From: Glen Choo Date: Fri, 28 Oct 2022 22:55:25 GMT Subject: Re: [PATCH v3 1/8] clone: teach --detach option Message-ID: In-Reply-To: Junio C Hamano writes: > Junio C Hamano writes: > >> Wouldn't it the same thing to do "git clone -n && git checkout >> --detach"? > > Not exactly. It still creates the initial branch and points HEAD at > it. It is so close, which is a bit disappointing, though. Yes. I was quite hopeful that "git clone -n" would just do the right thing too :/ I'm guessing that changing the behavior of "git clone -n" is a non-option, since there may be users relying on it. So a better way forward is to add the new flag, which I imagine might be useful to certain end users.