{"thread":{"id":"12618","subject":"git message","startedAt":"2008-03-10T14:46:00Z","lastAt":"2008-03-11T13:30:49Z","messageCount":2,"participants":["Mike Miller","Michele Ballabio"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"71588","messageId":"20080310144600.GA15556@roadking.ldev.net","threadId":"12618","inReplyTo":null,"subject":"git message","fromName":"Mike Miller","fromEmail":"mike.miller@hp.com","sentAt":"2008-03-10T14:46:00Z","receivedAt":"2008-03-10T14:46:00Z","isPatch":false,"sender":{"key":"mike.miller@hp.com","avatar":null},"body":"I see some patches referring to this message but I don't understand what it\nmeans:\n\nWarning: Remote HEAD refers to nonexistent ref, unable to checkout.\n\nWould someone please explain the message? Is my repository complete?\n\nThanks,\nmikem\n"},{"id":"71697","messageId":"200803111430.49927.barra_cuda@katamail.com","threadId":"12618","inReplyTo":"20080310144600.GA15556@roadking.ldev.net","subject":"Re: git message","fromName":"Michele Ballabio","fromEmail":"barra_cuda@katamail.com","sentAt":"2008-03-11T13:30:49Z","receivedAt":"2008-03-11T13:30:49Z","isPatch":false,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"On Monday 10 March 2008, Mike Miller wrote:\n> I see some patches referring to this message but I don't understand what it\n> means:\n> \n> Warning: Remote HEAD refers to nonexistent ref, unable to checkout.\n> \n> Would someone please explain the message? Is my repository complete?\n\nWhen you clone from a repository, git clone does a default checkout using\nthe branch referred to by HEAD. If HEAD does not exist on the remote repo,\ngit clone simply does not checkout any branch (but your local repo is ok).\n\nAt least that's what I understood from reading git-clone.sh.\n\nYou can see all the remote branches with\n\n\tgit branch -a\n\nand checkout a new local branch on top of them with\n\n\tgit checkout -b local_branch remote_branch\n"}]}