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

improves platform specific setup section

parent 23820c80
No related branches found
No related tags found
No related merge requests found
...@@ -446,18 +446,25 @@ ...@@ -446,18 +446,25 @@
## git setup #2 ## git setup #2
```bash ```bash
# editor # command line editor
git config --global core.editor emacs git config --global core.editor nano
# WINDOWS ONLY: let git handle line endings # Linux GNOME / KDE
git config --global core.editor gedit
git config --global core.editor kate
# Windows
git config --global core.editor notepad
git config --global core.autocrlf true git config --global core.autocrlf true
``` ```
notes: notes:
- talk about line endings ### line endings
- explain the difference: Windows CRLF, everyone else LF, some
accept only LF
- maintainers may reject contributions because of line endings - maintainers may reject contributions because of line endings
- difference between git config and editor config - on Windows, git can do it for you, via `dos2unix`
- you can have fine grained control over this with gitattributes(5) - 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.
Please register or to comment