Configuring ssh and Git for macOS

Important Links

Several important links are mentioned in the video. They are:

Commands

Several important commands are mentioned in the video. They are:

Installing Git and Xcode

Command to install git and xcode command line tools
xcode-select --install

SSH Key and Config

Generate an ssh ed25519 Key
ssh-keygen -t ed25519

The screencast mentions a command to download SSH configuration. The command is:
curl -o ~/.ssh/config https://raw.githubusercontent.com/Deep-Dive-Coding-Fullstack-Licensing/ssh-config/main/config

Connecting to the student server with ssh

The SSH command to connect is:
ssh USERNAME@ddc-web-student.cnm.edu
where USERNAME is your CNM username.

Configuring git

  1. git config --global user.email your@email.address
  2. git config --global user.name "Your Name"
  3. ssh git@github.com

 GitHub

GitHub is a site that will be the staging area for all the code you write in this class, and when you leave this class. Think of it as a living, expanding professional portfolio of code you have written. The main idea of using GitHub is twofold:

  1. To collaborate with your teammates during class and be an effective group member
  2. To have an easily accessible center for all your work to share with future employers

The video will walk you through signing up for a GitHub account. Since this will be a professional account, it is important you use a professional username. Make sure the username is something you'll have no shame in sharing with future employers. Your first and last name (or a slight variation) is recommended.