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

splits setup in two parts

one slide dedicated to editors
parent b91e1acb
No related branches found
No related tags found
No related merge requests found
......@@ -344,8 +344,8 @@
```
</section>
<section id="setup-git" data-markdown>
## git setup
<section id="setup-git-1" data-markdown>
## git setup #1
```bash
# configure your identity
......@@ -355,17 +355,29 @@
# show colors
git config --global color.ui auto
# editor
git config --global core.editor emacs
# configure aliases
git config --global alias.unstage 'reset HEAD --'
git config --global alias.lol \
'log --graph --decorate --oneline --all'
```
</section>
<section id="setup-git-2" data-markdown>
## git setup #2
```bash
# editor
git config --global core.editor emacs
# WINDOWS ONLY: let git handle line endings
git config --global core.autocrlf true
```
notes:
- editor: talk about line endings
- talk about line endings
- maintainers may reject contributions because of line endings
- difference between git config and editor config
- you can have fine grained control over this with gitattributes(5)
</section>
</section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment