• Home
  • About
  • Schedule
  • Sessions
  • Team
  • Mechanics
  • Code of Conduct
  • Acknowledgements

Contents

  • This session
  • recipes project
  • Learning objectives
  • Slides

Branches

Session 05

Starts at:

May 06 2024 (12:15 pm)

Slides Chapter: Branches Quiz

This session

In this session, you will complete the following tasks:

  1. Complete the chapter “Branches” in the Version Control Book.
  2. Complete the exercises for the recipes project.
  3. Complete the quiz.

As always:

  1. Try out the commands in the chapter and play around with them.
  2. Check whether you have achieved the learning objectives.

recipes project

At the end of this session, you should have accomplished the following: 1. Created a new branch and merged changes to your main branch 1. Created and resolved a merge conflict

Please keep the recipes folder! We will continue to use it in the following sessions.

Learning objectives

💡 You understand the purpose and benefits of using branches in Git
💡 You can create and switch between branches
💡 You can merge branches and resolve merge conflicts
💡 You can name at least three best practices when working with branches

Slides

How can I download the slides as PDF?

To print the slides to PDF, do the following:

  1. Toggle into Print View using the E key (or using the Navigation Menu).
  2. Open the in-browser print dialog (CTRL/CMD+P).
  3. Change the Destination setting to Save as PDF.
  4. Change the Layout to Landscape.
  5. Change the Margins to None.
  6. Enable the Background graphics option.
  7. Click Save.

Note: This feature has been confirmed to work in Google Chrome, Chromium as well as in Firefox.

Here’s what the Chrome print dialog would look like with these settings enabled:

Screenshot of Chrome print dialog with the first slide/page of 43 shown on the left, and print options on the right. The Destination print option has Save as PDF selected.

These instructions were copied from the Quarto documentation (MIT License) and slightly modified.

© 2023 – 2025 Dr. Lennart Wittkuhn
  • Acknowledgements
License: CC BY 4.0