From d294b64f3e718cff77df038c11302d795f3bd664 Mon Sep 17 00:00:00 2001 From: Ashley Duckworth Date: Sat, 23 Jan 2021 10:08:20 -0600 Subject: Setup (ma)git for windows --- config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config.org b/config.org index e443871..9ebc855 100644 --- a/config.org +++ b/config.org @@ -1391,6 +1391,25 @@ that one item is. (define-key acdw/leader "g" #'magit-status) #+end_src +**** Windows setup + +Following the [[https://github.com/magit/magit/wiki/Pushing-with-Magit-from-Windows][wiki page located here]]. Also make sure to run the +following in =cmd.exe= to set =$HOME= correctly: + +#+begin_src cmd + setx HOME C:\Users\aduckworth\Downloads\acdw +#+end_src + +/and/ run /this/ command to setup a git credential helper: + +#+begin_src sh + git config --global credential.helper wincred +#+end_src + +#+begin_src emacs-lisp :noweb-ref settings + (setenv "GIT_ASKPASS" "git-gui--askpass") +#+end_src + *** Git file modes #+begin_src emacs-lisp :noweb-ref packages -- cgit 1.4.1-21-gabe81