This session
In this session, you will complete the following tasks:
- Complete the chapter “Branches” in the Version Control Book.
- Complete the exercises for the
recipes
project. - Complete the quiz.
As always:
- Try out the commands in the chapter and play around with them.
- 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
To print the slides to PDF, do the following:
- Toggle into Print View using the E key (or using the Navigation Menu).
- Open the in-browser print dialog (CTRL/CMD+P).
- Change the Destination setting to Save as PDF.
- Change the Layout to Landscape.
- Change the Margins to None.
- Enable the Background graphics option.
- 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:
These instructions were copied from the Quarto documentation (MIT License) and slightly modified.