git in emacs
- From
- Rustom Mody <rustompmody@gmail.com>
- Date
- Jun 25, 2009, 12:35 UTC
- Message-ID
- <f46c52560906250535k6a0eb0a5ne05dc327760d14bd@mail.gmail.com>
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]
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?