Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magit save password and username

Magit is a good option for using Github. When I want to push my commits to Github, it always asks my username and password. How can Emacs save my password?

Best regards.

like image 681
itirazimvar Avatar asked Sep 03 '14 21:09

itirazimvar


1 Answers

This hasn't much to do with Magit. If you configure Git correctly, then it also works in Magit. Either use a ssh key or credential.helper. I recommend the former, but then you also have to configure an ssh-agent and how that is done might differ between distributions.

like image 154
tarsius Avatar answered Oct 18 '22 08:10

tarsius