iOS Dev Setup: Git in all its glory

Jen Hamilton
I, Developer
Published in
4 min readMay 21, 2018

--

Get your git game on

This post is part of an ongoing series on setting up an iOS development environment.

The focus of this article is less about “how to git”, and more to share some useful tools and tweaks that I use regularly to make my dev life run a little more smoothly.

The basics:

This post assumes you have Homebrew installed (please see this previous post if not). To install git, simply run:

brew install git

If you need help learning git, Github & Code School have created a great basic tutorial, with more advanced tutorials available from Code School with a subscription.

Level up:

.gitconfig

Your .gitconfig file works much like a .bashrc or .zshrc file, in that it saves your git configuration settings, separated by headers. If you do not have one already, create and save in your user directory. Example:

--

--