Re: [PATCH v3 1/8] clone: teach --detach option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 28, 2022, 21:54 UTC
- Message-ID
- <xmqq7d0jhaw6.fsf@gitster.g>
- In-Reply-To
- <xmqqmt9fhbjt.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> 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.