Other Pages

Expand All

Configure Git

(If you used RailsInstaller on Windows then you should already have user.name and user.email configured.)

In the next commands, don't copy-paste the whole thing. Use the name and email address you usually use. Don't use a username (like your github username).

Type this in the terminal:
git config --global user.name "Your Actual Name, In Quotes"
Type this in the terminal:
git config --global user.email "Your Actual Email, In Quotes"

Use the same email address for heroku, git, github, and ssh.

Verify

Type this in the terminal:
git config --get user.name
Expected result:
your name
Type this in the terminal:
git config --get user.email
Expected result:
your email address

Colored output in Git

Type this in the terminal:
git config --global color.ui auto

If you are using Windows, the output of Git will not have colors.

Next Step: