Warning message

Submissions for this form are closed.

Introduction to Git, 14-18 November 2022

Introduction to Git

REGISTRATION CLOSED! THE COURSE IS FULL!

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

Some of the main concepts, like repositories, commits, trees, branches, and merges will be covered, as will many of the basic commands, like clone, add, push, pull, commit, and fork. We will also go one step beyond the basic concepts and explain the fundamentals of how commits and branches can be manually created by using so-called "plumbing" (low-level) subcommands.

The lectures will be complemented by demos, as well as hands-on, during which the participants will learn both how to do simple Git commands as well as more complex cases. The hands-ons will mainly be done using GitHub.

Purpose: Learn what Version Control is and how to get started using Git.

Format: The course will be five half-days and comprised of lectures and hands-on sessions. This is an online-only course (Zoom)

Audience: This HPC2N course is a cooperation with UPPMAX and is also part of the PRACE Training courses. It is open for academics and people who work in industry in the PRACE member countries.

Requirements:

  • Basic knowledge of using the command line.
  • Basic knowledge of using a text editor of your choice on your system.
  • A GitHub user account.
  • A reasonably recent version of Git installed on your system. See the Git homepage.

Date: 2022-11-(14-18)
Time: 8:30-12:00 on the first day (the first half-hour is an optional Git installation/Kebnekaise login-session for those that need it), 9:00-12:00 on the rest of the days.
Deadline for registration: 2022-11-04

EXERCISES

You can download the exercises from here: https://github.com/hpc2n/course-intro-git

SLIDES

The slides can be found on HackMD: https://hackmd.io/@git-fall-2022

LECTURES

Recordings of the lectures can be found here: Git course playlist on HPC2N's YouTube channel.

Preliminary schedule

Monday, 2022-11-14

08:30 A. Optional installation help (Git)
09:00 0. Introduction and setup
09:30 1. Why use version management?
10:00 Break (15 min)
10:15 2. Basic concepts, part 1
11:15 Break (15 min)
11:30 2. Basic concepts, part 2
12:00 End of first day

Tuesday, 2021-11-15

09:00 3. Basic commands, part 1
10:15 Break (15 min)
10:30 3. Basic commands, part 2
11:20 Break (10 min)
11:30 4. Traversing the commit tree, part 1
12:00 End of second day

Wednesday, 2021-11-16

09:00 4. Traversing the commit tree, part 2
10:15 Break (15 min)
10:30 4. Traversing the commit tree, part 3
11:00 Break (10 min)
11:10 5. Branches, merges, and conflicts, part 1
12:00 End of third day

Thursday, 2021-11-17

09:00 5. Branches, merges, and conflicts, part 2
09:55 Break (10 min)
10:05 6. Working with remotes, part 1
10:50 Break (10 min)
11:00 6. Working with remotes, part 2
12:00 End of the course

Friday, 2021-11-18

09:00 7. Teamwork, part 1
09:55 Break (10 min)
10:05 7. Teamwork, part 2
10:50 Break (10 min)
11:00 7. Team work, part 3
12:00 End of the course

Course project: As part of the hands-on, you may be given temporary access to a course project, which may be used for running some of the hands-on examples (mainly for those who cannot use their own computers for Git). There are some policies regarding this, that we ask that you follow:

  • You may be given access to the project before the course; please do not use the allocation for running your own codes in. Usage of the project before the course means the priority of jobs submitted to it goes down, diminishing the opportunity for you and your fellow participants to run the examples during the course. You can read more detailed information about the job policies at HPC2N here.
  • The course project will be open 1-2 weeks after the course, giving the participants the opportunity to test run examples and shorter codes related to the course. During this time, we ask that you only use it for running course related jobs. Use your own discretion, but it could be: (modified) examples from the hands-on, short personal codes that have been modified to test things learned at the course, etc.
  • Anyone found to be misusing the course project, using up large amounts of the allocation for their own production runs, will be removed from the course project.

The course used computing resources provided by the Swedish National Infrastructure for Computing (SNIC) at HPC2N partially funded by the Swedish Research Council through grant agreement no. 2018-05973.

Registration

Please fill in the below form to sign up. All fields marked with * are required. REGISTRATION CLOSED! THE COURSE IS FULL!

Updated: 2024-10-10, 12:39