Re: Deleting remote branch pointed by remote HEAD
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Jan 21, 2009, 19:20 UTC
- Message-ID
- <94a0d4530901211120o4d06c813l3abf86c657a7ee16@mail.gmail.com>
- In-Reply-To
- <20090121191619.GE21686@coredump.intra.peff.net>
On Wed, Jan 21, 2009 at 9:16 PM, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
> On Wed, Jan 21, 2009 at 08:31:50PM +0200, Felipe Contreras wrote: > >> Why should we care about the remote HEAD? Isn't that relevant only >> when cloning to find out the branch to checkout? > > You can use the shorthand $foo to refer to refs/remotes/$foo/HEAD. Which > means, in the default case, you can refer to just "origin" to talk about > origin's master branch. > > But as Daniel noted, that is really about local preference for "what is > the most interesting branch on the remote". You might want to track what > the remote sets to HEAD, or you might want to set it individually.
Ah, good to know. But then the message should appear only when doing something with the $foo branch.
-- Felipe Contreras