Skip to content

Instantly share code, notes, and snippets.

@mmonkey
mmonkey / happy_git_on_osx.md
Last active August 29, 2015 14:26 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "you@example.com"

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"