about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAshley Duckworth2021-01-23 10:08:20 -0600
committerAshley Duckworth2021-01-23 10:08:20 -0600
commitd294b64f3e718cff77df038c11302d795f3bd664 (patch)
tree25566340a4386b960e239ecdfd8f2ac8b2c8a69b
parentExport org with smart quotes (diff)
downloademacs-d294b64f3e718cff77df038c11302d795f3bd664.tar.gz
emacs-d294b64f3e718cff77df038c11302d795f3bd664.zip
Setup (ma)git for windows
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
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.
1391 (define-key acdw/leader "g" #'magit-status) 1391 (define-key acdw/leader "g" #'magit-status)
1392#+end_src 1392#+end_src
1393 1393
1394**** Windows setup
1395
1396Following the [[https://github.com/magit/magit/wiki/Pushing-with-Magit-from-Windows][wiki page located here]]. Also make sure to run the
1397following in =cmd.exe= to set =$HOME= correctly:
1398
1399#+begin_src cmd
1400 setx HOME C:\Users\aduckworth\Downloads\acdw
1401#+end_src
1402
1403/and/ run /this/ command to setup a git credential helper:
1404
1405#+begin_src sh
1406 git config --global credential.helper wincred
1407#+end_src
1408
1409#+begin_src emacs-lisp :noweb-ref settings
1410 (setenv "GIT_ASKPASS" "git-gui--askpass")
1411#+end_src
1412
1394*** Git file modes 1413*** Git file modes
1395 1414
1396#+begin_src emacs-lisp :noweb-ref packages 1415#+begin_src emacs-lisp :noweb-ref packages