Git Installation & Initial Setup

From GLMWiki
Revision as of 13:55, 31 October 2013 by Kc8wxm (Talk | contribs)

Jump to: navigation, search

Reference for this page http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup

At minimum you'll need to setup your name and email for git.

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

Windows Users Since your files actually reside on a unix server you'll need to keep your line endings the same as unix format. You don’t want Git to automatically convert them when you check out files; however, if a file with CRLF endings accidentally gets introduced, then you may want Git to fix it. You can tell Git to convert CRLF to LF on commit but not the other way around by setting core.autocrlf to input:

git config --global core.autocrlf input