Re: remote branches, and branch names in general
- From
Jeff King <peff@peff.net>
- Date
- Mar 4, 2009, 10:29 UTC
- Message-ID
- <20090304102903.GA16123@coredump.intra.peff.net>
- In-Reply-To
- <76718490903031132v592b8368p6355ea2bd0cda4ae@mail.gmail.com>
On Tue, Mar 03, 2009 at 02:32:00PM -0500, Jay Soffian wrote:
Show 5 quoted lines
> On Tue, Mar 3, 2009 at 11:11 AM, Jeff King <peff@peff.net> wrote: > > Yes, the "branch" command deals only with creating things in refs/heads, > > Unless given -r, in which case it looks in refs/remotes, or -a, in > which case it looks in refs/heads and refs/remotes. :-)
OK, fair enough. ;P
But I think the lesson to be learned is that there is a difference between arbitrary ref lookup (which you might use with log, show, diff, or even as the branching-off point for branch) and specialized commands which assume you are working in some part of the ref hierarchy (heads, tags, or even remotes).
-Peff