This course will be an introduction to version control, with a strong focus on Git.
Instructors:
Pedro Ojeda-May (HPC2N)
Birgitte Brydsö (HPC2N)
Diana Iusan (UPPMAX)
The course will have a mixture of lectures and hands-ons, and will be split into modules. It will consist of four half-days.
Introduction to Git - continued
The lectures will be done in the main Zoom room.
Most modules will have hands-ons. These are done in the main Zoom room, but with the possibility to go to break-out rooms for help.
Some hands-ons will be done locally on your own computer and some will be done 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 instructors if there is anything you need help with.
You can ask in the chat, but the recommended option is using the 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. day
Setup and intro
Motivation
Basic concepts
Blobs, Trees, Commits, References, etc.
Basics commands, part 1
Creating & cloning repositories, Adding files, Committing, etc.
2. day
Basics commands, part 2
Creating & cloning repositories, Adding files, Committing, etc.
Hands-on
Commits
History, Tags, HEAD, Diffs, etc.
Hands-on
3. day
Branches
Basics concepts, Creation, deletion, Conflicts, etc.