From: Rustom Mody Date: Thu, 25 Jun 2009 13:13:27 GMT Subject: Re: git in emacs Message-ID: In-Reply-To: On Thu, Jun 25, 2009 at 6:29 PM, Jakub Narebski wrote: > Rustom Mody writes: > >> Ive been trying to use git.el in emacs >> >> When I checked out an internal commit (I guess that's called a >> detached head?) then git-status (in emacs) starts giving me >> >> Branch:     fatal: ref HEAD is not a symbolic ref >> >> This goes away when I do >> git reset --hard -- >> git checkout master >> >> [I'm not sure this the best way of restoring the head] > > This probably means that git.el (which version do you use) should > be corrected. Ok So I had an old version Now its version 1.0 But I still get the same error :-( > >> >> But my question is more about git in emacs. I gather that there are 3 options: >> 1. git.el >> 2. vc with git backend >> 3. dvc with git backend >> >> Which is best/preferable? >> Or is it best to stay with the command line? > > See http://www.emacswiki.org/emacs-en/Git > > -- > Jakub Narebski > Poland > ShadeHawk on #git >