From: Sitaram Chamarty Date: Wed, 21 Jan 2009 14:52:07 GMT Subject: Re: Deleting remote branch pointed by remote HEAD Message-ID: In-Reply-To: On 2009-01-21, Marc-André Lureau wrote: > I deleted a remote branch which was pointed by HEAD, this way: "git > push origin :master" > > Then for almost every git command, I get this error: "error: > refs/remotes/origin/HEAD points nowhere!". > > I found this situation non-friendly. Fortunately, I could understand > what's going on. But a new user might be confused. That's a pretty advanced command for a beginner. I have people who're only using the GUI (in the presumption that it will be less confusing or less powerful or whatever) and have managed to right click on a remote branch, choose "checkout this branch" and have made commits on it without knowing they're not on any branch! I wish I had your problem :-)