Git

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

To use Git on the command line, you'll need to download, install, and configure Git on your computer.

Installation

To install, run:

brew install git

Configuration

Git uses a username to associate commits with an identity.

Setting Git username and email for every repository on your computer

git config --global user.name "Your Name Here"
git config --global user.email "your_email@youremail.com"

Setting Git username and email for a single repository

git config user.name "Your Name Here"
git config user.email "your_email@youremail.com"

Last updated