Other Pages

Expand All

Configure Git

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).

If you are using Windows, open the Git Bash program and use that as your terminal. If you don't have Git Bash, ask a TA for help.

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 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: