Git Started!

Because I will forget the next time I have to reinstall git on a machine, some settings:

* set vscode as editor:
git config --global core.editor "code --wait"
 
* set notepad++ as editor: (because it is easier)
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

* get rid of "git replacing LF with CRLF" warning on "git add ." (read this)
git config --global core.autocrlf false

* set the default for my machine
git config --global user.name 'My Brain';
git config --global user.email 'info-at-mybrain-dot-nl';

Now to get started on a project:

git init
git add .
git commit -a -m "Initial Commit"
git remote add origin https://github.com/mybrain/myproject.git
git push -u origin master 

When needed, after some good coding:

git log
git status
git add .
git commit -m "Beautiful Bugs Inserted"
git push

And in case of fire:

git add .
git commit -a -m "Fire!"
git push
git -tf out!