Skip to content
Snippets Groups Projects
Verified Commit 260ae922 authored by ck85nori's avatar ck85nori :railway_track:
Browse files

drops autocrlf explanation

just check it during git config --global --list

fixes #24
parent cd323681
No related branches found
No related tags found
No related merge requests found
...@@ -457,6 +457,8 @@ ...@@ -457,6 +457,8 @@
notes: notes:
- hand out cheat sheets **now** - hand out cheat sheets **now**
- for Windows: check that `core.autocrlf true`, but do not waste
time explaining it for everyone
</section> </section>
<section id="setup-git-2" data-markdown> <section id="setup-git-2" data-markdown>
...@@ -465,7 +467,6 @@ ...@@ -465,7 +467,6 @@
```bash ```bash
# Windows # Windows
git config --global core.editor notepad git config --global core.editor notepad
git config --global core.autocrlf true
# Mac # Mac
git config --global core.editor 'open -Wne' git config --global core.editor 'open -Wne'
...@@ -476,12 +477,6 @@ ...@@ -476,12 +477,6 @@
``` ```
notes: 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>
</section> </section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment