Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

If you are to be working on the Data & Controls team, please use this Google Form to request GitHub Access: https://forms.gle/J718HJVWyPdvwXKL8GitHub Basics

Setting Up Git

  1. Create a GitHub account

  2. Install Git

    1. Note Git is already installed on macOS

    2. Download for Windows

      1. Make sure you install Git Bash along with your installation, and leave everything else default

    3. If you’re already using Linux I bet you know what Git is

      1. For Ubuntu, run apt-get install git

      2. For Arch Linux, run pacman -S git

  3. Set up SSH tokens (This presentation might help guide)

    1. First, run ssh-keygen in the CLI anywhere, and just leave everything default by pressing enter

    2. Navigate to ~/.ssh/ and open id_rsa.pub in a text editor

    3. Copy the ssh key listed in this file into your GitHub’s SSH keys here

    4. If you have multiple machines, you’ll need to do this for each machine (i.e. dual booting or using a VM)

  4. Run these two commands to save your GitHub credentials

    1. Code Block
      $ git config --global user.name "John Doe"
      $ git config --global user.email johndoe@example.com
  5. View the Git 101 Presentation below if you’re not familiar with Git

Widget Connector
urlhttps://docs.google.com/presentation/d/18_T_kDgsussS3cp9YDVCT7ngH9Onzyu93btziPgIoC4/edit?usp=sharing

...