0

Where does magit get push credentials from?

I have been using magit happily for quite some time.

I installed a new (OSX) machine with the same emacs (spacemacs) config I use on other machines, yet for some reason I cannot push from magit on this machine.

On both machines I can git push from my user shell just fine (zsh). Also, I use git and not https repositories with github.

So, what are the things I should check? Where magit gets it's credentials from/what commands does it call/is there an error log somewhere?

2
  • 1
    Can you tell us what versions are you using? Also, can you show your configuration files? Finally, have you read this answer?
    – Nsukami _
    Sep 13, 2018 at 16:35
  • @Nsukami_ thanks your link set me on the right path :)
    – nha
    Sep 14, 2018 at 8:05

1 Answer 1

1

I was having manual steps in my config to load the ssh agent, which made it work in the console, but was not visible for magit. Adding any of the git auth methods works (I did it with the ./ssh/config).

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.