No description
Find a file
2026-07-14 10:57:02 +02:00
workflows_sketches_presentation import from ASPP2025 2026-07-02 15:31:20 +02:00
cheatsheet.md import from ASPP2025 2026-07-02 15:31:20 +02:00
exercise.md import from ASPP2025 2026-07-02 15:31:20 +02:00
git-commands-visualizations.pdf import from ASPP2025 2026-07-02 15:31:20 +02:00
README.md updated lecture notes 2026-07-14 10:57:02 +02:00
workflow_sketches.pdf import from ASPP2025 2026-07-02 15:31:20 +02:00

git

Setup

  • Login with your username found on your name badge and set the initial password for your account: https://git.aspp.school/user/login
  • You'll have to type that password many many times this week: choose wisely!
  • We will use the exercise in the repo for the rest of the lecture
  • find a partner to do pair-programming for this lecture by finding someone with the same tarot card as you
  • before starting, make yourself acquainted with the meanining and the power of the tarot cards: carefully read this booklet

A cautionary quote

My first instinct is to sell all my computers, fake my own death, move to another planet, and reinvent computing from scratch, rather than try to understand Git.

I rarely actually do that, mind you. But the urge is there.

— Lars Wirzenius (Linux kernel developer)

Warm-Up

  • how to start a repo from scratch?
  • how to revert mistakes?
  • how to move the whole working directory to a specific point in history?
  • how to move a single file to a specific point in history?
  • how to copy a single file from a different branch?
  • building commits along the way interactively (for the mess around type of workflows)
  • check out these sketches for a graphical visualization of git commands!

Workflows

Look at the sketches

  1. lone scientist local
  2. lone scientist remote
  3. research group
  4. fully distributed software development

The Open Source workflow in detail