profile for joel goldstick at Stack Overflow, Q&A for professional and enthusiast programmers

JoelGoldstick.com

Setting up Git

Categories: git

Published on April 19, 2016

Last Modified on April 19, 2016

Basic Setup

All git commands start with git

Before you use git you need to set up two configuration settings:

git config --global user.name "Your name goes here"
git config --global user.email "your.email.account@your.email.domain"

To confirm type:

git config --global --list

Here is what is on my computer:

jcg@jcg-netbook:~/code/venvs/git_course$ git config --global --list
user.email=joel.goldstick@gmail.com
user.name=Joel
push.default=simple