From: Felipe Contreras Date: Mon, 14 Dec 2020 19:42:41 GMT Subject: Re: [PATCH] clone: in protocol v2, use remote's default branch Message-ID: <5fd7c03160b1c_d3c9c20853@natae.notmuch> In-Reply-To: <20201214192534.3105508-1-jonathantanmy@google.com> Jonathan Tan wrote: > > But shouldn't there at least be a corresponding "fetch" option? On init > > we'll create head, but "git fetch --clobber-my-idea-of-HEAD-with-remote > > ..."? > > I think that it's OK for "clone" to create HEAD, but not OK for "fetch" > to modify HEAD. Not the local HEAD, the remote HEAD. See my proposal to update the remote head in different scenarios: https://lore.kernel.org/git/20201118091219.3341585-1-felipe.contreras@gmail.com/ -- Felipe Contreras