Training

Training title: Introduction to git

Organizers: CINECA
Date: April 22nd, 2024
Time: 10.00 – 11.00 CEST
Language: English
Event format: online
Level: beginner
Tutor/s names: Mattia Mencagli (CINECA)
Recorded video: this link part 1 this link part 2
Agenda & topics

This training will cover the following topics:

Introduction to git version control system. Presentation with slides (intro_git.pdf) (~30 minutes):

  • how to clone or create a git repository;
  • how to check and visualize the status and the branches of the repository;
  • how to manage the repository: git log, git status, git pull, git push, git fetch, git merge, git rebase, git add, git commit, git checkout, git restore, git reset, git revert.

Showcase in real time with a few examples of the git usage (live_exercise.md) (~30 minutes):

  • create a repository from scratch or clone a pre-existing remote repository;
  • add files, commit them, and push them on the remote repository;
  • undo modifications;
  • create multiple branches and merge them properly;
  • deal with merge and rebase conflicts.

The participation in the training is free of charge.