Episode #323

Setting Up Git and SSH

Series: Setting up a New Mac for Development

8 minutes
Published on February 9, 2018

This video is only available to subscribers. Get access to this video and 578 others.

In this episode we configure git to identify our commits, set up a diffing & merging tool, and configure SSH so we can log into other machines securely.

Episode Links

Setting Up Git Email and Username

$ git config --global user.email "youremail@address.com"
$ git config --global user.name "Your Name"

Get New SSH key

$ ssh-keygen -t rsa -C "nameOfKey"

Add Key to SSH Agent

$ ssh-add ~/.ssh/id_rsa