From: carbonated beverage Date: Sun, 10 Jun 2007 08:54:30 GMT Subject: Re: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Message-ID: <20070610085430.GA17255@prophet.net-ronin.org> In-Reply-To: <7vk5uekagd.fsf@assigned-by-dhcp.cox.net> On Fri, Jun 08, 2007 at 03:27:30AM -0700, Junio C Hamano wrote: > How did you get your repository into such a state to begin with? It's kinda odd to see this thread, as I hit this issue today, as well. If you need another test case, the cvsps git repo shows this too: ramune/lycaeum:git: git clone http://ydirson.free.fr/soft/git/cvsps.git ramune/lycaeum:git: cd cvsps ramune/lycaeum:cvsps: ls ramune/lycaeum:cvsps: git checkout -f warning: You appear to be on a branch yet to be born. warning: Forcing checkout of HEAD. fatal: just how do you expect me to merge 0 trees? ramune/lycaeum:cvsps: cat .git/HEAD ref: refs/heads/master ramune/lycaeum:cvsps: ls .git/refs/head/master ls: .git/refs/head/master: No such file or directory -- DN Daniel