1

First time package user and magit user.

Following the installation instructions, when I enter "package-install magit", a Completions buffer is displayed, (see below). I've tried adding both stable.melpa and melpa. Neither give me the 'magit', by itself.

I'll be glad if someone can point out what this newbie is missing. Should I see the 'magit' package by itself, or should I be selecting one from the Completions list?

Possible completions are:
magit-annex     magit-filenotify    magit-find-file     magit-gerrit
magit-gh-pulls  magit-gitflow   magit-imerge    magit-lfs
magit-p4    magit-rockstar  magit-stgit     magit-svn
magit-tbdiff    magit-topgit    magithub
7
  • 2
    My first theory is that it's already installed. Try M-x magit-status
    – phils
    Sep 11, 2017 at 8:28
  • Your theory was correct. The instructions did not take that into account. Unfortunately, it looks like magit won't work over TRAMP, so it's back to the shell prompt for my git commands. Sep 19, 2017 at 20:36
  • Magit definitely can work over tramp (although it's generally much slower). If you're having difficulties with that, feel free to post a new question. I prefer to ssh into the remote machine and run emacs + magit on that machine in a terminal, as the performance is much better that way. If that's an option for you, you might want to try that.
    – phils
    Sep 19, 2017 at 21:16
  • You might have an old version of magit, mind. What does M-x magit-version tell you? v2.11.0 has just been released. If you're far behind that, maybe tramp isn't supported so well, and you could try updating.
    – phils
    Sep 19, 2017 at 21:26
  • Take note of magit.vc/manual/2.2/magit/…
    – phils
    Sep 19, 2017 at 21:32

1 Answer 1

2

It was established in the comments above that this was happening because magit was already installed, and consequently was not a valid option for package-install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.