From 260ae92258c734e77e348d0d3b98566a535accde Mon Sep 17 00:00:00 2001 From: Christian Krause <christian.krause@idiv.de> Date: Thu, 12 Dec 2019 16:00:51 +0100 Subject: [PATCH] drops autocrlf explanation just check it during git config --global --list fixes #24 --- basics.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/basics.html b/basics.html index 77b1733..606907f 100644 --- a/basics.html +++ b/basics.html @@ -457,6 +457,8 @@ notes: - hand out cheat sheets **now** + - for Windows: check that `core.autocrlf true`, but do not waste + time explaining it for everyone </section> <section id="setup-git-2" data-markdown> @@ -465,7 +467,6 @@ ```bash # Windows git config --global core.editor notepad - git config --global core.autocrlf true # Mac git config --global core.editor 'open -Wne' @@ -476,12 +477,6 @@ ``` notes: - ### line endings - - explain the difference: Windows CRLF, everyone else LF, some - accept only LF - - maintainers may reject contributions because of line endings - - on Windows, git can do it for you, via `dos2unix` - - fine grained control with `man 5 gitattributes` </section> </section> -- GitLab