Skip to content

To-do 04

What should you prepare before the session?

Git

Use the wiki → Git. The list below refers to this wiki.

  • on your laptop, check if Git is installed by opening the terminal, then run:
    which git     # should output a path
    git --version # should output: git version x.xx.xx
    
  • on your laptop and on Matrix, tell Git who you are:
    git config --global user.name "Your Name"
    git config --global user.email "username@vt.edu"
    
    double-check the configuration to make sure the settings are correct (otherwise rerun the above git config commands)
    git config --global --list
    
  • in the wiki, go over the section "1. Getting started"
  • review and familiarize yourself with Git commands; the following matterial from the "Getting started" section is essential: "Git videos (git-scm.com)", "Git tutorial (git-scm.com)", "Beginner Git commands you need to know (GitHub)"

VT-GitLab, hosted at code.vt.edu

Use the wiki → VT-GitLab The list below refers to this wiki.

  • on your laptop and on Matrix, set up SSH keys at GitLab (code.vt.edu); use the instructions in section "Add SSH public key from your computer"
  • test out the access by cloning a Git repo (GitLab calls it a project) onto your computer and onto Matrix; for example this should work (on your laptop and on Matrix):
    git clone git@code.vt.edu:jrudi/linear_regression.git