Ult
Featured
Urt
Ll Lr

Ult
Log in
Urt
Ll Lr


Ult
github_notes
Urt

GitHub Notes

Git Setup

Auto Line Feeds

$ git config—global core.autocrlf true

This causes git to convert the newlines to the system’s standard when checking out files, and to LF newlines when committing in. Then you will need to checkout a fresh working copy, which will filter the line endings according to the autocrlf setting.

Editor Tool

$ git config—global core.editor

This changes the default editor for commit messages. I use SlickEdit for text editing, so the command “vs” works for me, but if your in OS X, you might like “mate”.

Diff Tool

$ git config—global diff.external

This will launch your favorite diff tool instead of the built in.





Edit History
Ll Lr


Get in touch if you have any questions, or ideas for something you want me to build.