git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git in emacs

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 25, 2009, 12:59 UTC
Message-ID
<m3bpocxyf4.fsf@localhost.localdomain>
In-Reply-To
<f46c52560906250535k6a0eb0a5ne05dc327760d14bd@mail.gmail.com>
Rustom Mody <rustompmody@gmail.com> writes:
Show 12 quoted lines
> 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 <original-head-sha> --
> 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.

Show 8 quoted lines
> 
> 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
Previous: Rustom ModyNext: Rustom Mody
Message 2 of 4 in “git in emacs”
  1. Rustom ModyJun 25, 2009
  2. Jakub NarebskiJun 25, 2009
  3. Rustom ModyJun 25, 2009
  4. Alexandre JulliardJun 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.