[Emacs] Make Magit use authinfo to authenticate through HTTPS

This commit is contained in:
Lucien Cartier-Tilet 2023-03-27 10:00:52 +02:00
parent 20e89e938f
commit b4c419d852
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 0 deletions

View File

@ -2714,6 +2714,7 @@ doing and what Git is doing! In short, I absolutely love it!
:init
(setq forge-add-default-bindings nil)
:config
(add-hook 'magit-process-find-password-functions 'magit-process-password-auth-source)
(csetq magit-clone-default-directory "~/fromGIT/"
magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
(with-eval-after-load 'evil-collection