From: Adam Majer Date: Wed, 05 Apr 2023 19:47:55 GMT Subject: Re: git clone of empty repositories doesn't preserve hash Message-ID: In-Reply-To: On 4/5/23 21:04, Junio C Hamano wrote: > Does such a clone copy the name of the primary branch from the > remote repository to the newly created repository? Yes it does. # git init -b maestro --object-format=sha256 a # git clone a b # cat b/.git/HEAD ref: refs/heads/maestro - Adam