Version Control

Recitation by Kris and Viktor.

In this recitation we are going to explain what version control is. Our focus is going to be Git, GitLab and plain HTML.

  1. A brief introduction about version control with a focus on git and Linus Torvalds.
  2. FabCloud GitLab setup, where to find your GitLab project.
  3. Setting up GitLab account with basic documentation website.
    • Basic Git setup.
      git config –-global user.name "Your Name"
      git config -–global user.email "your@email.com"
    • How to set up GitLab with a SSH key.
      ls ~/.ssh/
      cat ~/.ssh/id_rsa.pub
      ssh-keygen -t rsa -C "your@email.com"
    • How to clone the GitLab project?
      git clone https://gitlab.fabcloud.org/...
    • Basic structure of a plain HTML documentation site:
      • About page
      • Final Project page
      • Assignment pages
    • git push
    • GitLab CI/CD overview. What is .gitlab-ci?
    • git pull
  4. Additional links.