Installing Git

By Ryan Florence, published 2010-07-27

Part of the issue Git Your Act and Deployment Together.

Mac OS X

If you have Homebrew installed, you know the drill:

$ brew install git

You can also download the precompiled installer and install git like most applications.

Linux / Mac

Get down with your geeky self and install git from source

Windows

The most popular way to run git in windows is mysysgit

Global settings

It’s a good idea to set some global setting like so:

$ git config --global user.name "rpflo"
$ git config --global user.email "rpflo@example.com"

If you plan to work with people on both windows and linux/mac you should all set this as well to avoid major issues with line endings (more on why):

$ git config --global core.autocrlf input

That’s it! You’re ready to git it on. Continue on to Git for beginners

Hi, I'm Ryan!

Location:
South Jordan, UT
Github:
rpflorence
Twitter:
ryanflorence
Freenode:
rpflo

About Me

I'm a front-end web developer from Salt Lake City, Utah and have been creating websites since the early 90's. I like making awesome user experiences and leaving behind maintainable code. I'm active in the JavaScript community writing plugins, contributing to popular JavaScript libraries, speaking at conferences & meet-ups, and writing about it on the web. I work as the JavaScript guy at Instructure.