Other Pages

Expand All

configure-git.step

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

important "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."

console 'git config --global user.name "Your Actual Name, In Quotes"'
console 'git config --global user.email "Your Actual Email, In Quotes"'

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

verify do
  console "git config --get user.name"
  result "your name"
  console "git config --get user.email"
  result "your email address"
end

tip "Colored output in Git" do
  console <<-BASH
git config --global color.ui auto
  BASH

  important do
    message "If you are using Windows, the output of Git will not have colors."
  end
end

next_step "create-an-ssh-key"