From: Junio C Hamano Date: Wed, 16 Apr 2008 04:41:17 GMT Subject: Re: Friendly refspecs Message-ID: <7vabjuv2c2.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080416034823.GA11727@sigill.intra.peff.net> Jeff King writes: > On Sun, Apr 13, 2008 at 12:31:02PM +0300, Teemu Likonen wrote: > >> There is still one thing (at least) that I don't quite understand. It's >> about "git push". When I do >> >> $ git push >> >> the refs/heads/ is updated or created on the remote side. But if >> I do >> >> $ git push : >> >> the refs/heads/ is not automatically created. Eh, there is no way unless you force an assumption of a particular workflow to everybody else. What you would say on the second command is not literally "" but something like "work-in-progress", or "crap". Even an AI would not be able to guess if you wanted to create a branch on the other side, or wanted to put a lightweight tag to let people know where you are (possibly with the intention of removing it once you are done), and git is not an AI.