Introduction to Git - Fall 2020

Lecture A: Course info

TOC

Slides: https://hackmd.io/@hpc2n-git-2020/LA-intro#/


Introduction to Git

This course will be an introduction to version control, with a strong focus on Git.

Instructors:

  • Mirko Myllykoski (CS and HPC2N)
  • Pedro Ojeda-May (HPC2N)
  • Birgitte Brydsö (HPC2N)

The course will have a mixture of lectures and hands-ons, and will be split into modules.


Introduction to Git - continued

  • The lectures will be done in the main Zoom room.
  • Most modules have hands-ons. These are done in break-out rooms.
  • Each break-out room will have one instructor assigned.
  • Some hands-ons will be done locally on your own computer and some using GitHub.
  • If there is a problem using your own computer, the backup solution is logging in to Kebnekaise and using that.
  • The hands-ons for the module named "Teamwork" will be done in small groups, using GitHub.

Introduction to Git - continued

  • During the hands-ons you can just ask the instructor present if there is anything you need help with.
  • You can ask in the chat, but there is also a Google docs file for Questions and Answers (Q&A). The link can be found on the "Important information" page. Please write any questions you have during the lectures etc. to the Q&A page. The instructors will try to answer as quickly as possible.
  • Scroll down on a slide page to get to access the slides in a text form (small pen icon)

Overview

  1. Setup
  2. Motivation
  3. Basic concepts
    • Blobs, Trees, Commits, References, etc.
  4. Basics commands
    • Creating & cloning repositories, Adding files, Committing, etc.
    • Hands-on
  5. Commits
    • History, Tags, HEAD, Diffs, etc.
    • Hands-on
  6. Branches
    • Basics concepts, Creation, deletion, Conflicts, etc.
    • Hands-on
  7. Working with remotes
    • Basics concepts, Pull, push, fetch, GitHub, etc.
    • Hands-on
  8. Teamwork
    • Hands-on
Select a repo