

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: What Is a Branch?
incomplete
2: Default Branch
incomplete
3: Visualizing Branches
incomplete
4: New Branch
incomplete
5: Switching Branches
incomplete
6: Upleveling Our Abilities
incomplete
7: Log Flags
incomplete
8: Git Files
incomplete
This lesson's interactive features are locked, please to keep using them
We'll use the add_classics branch to add a commit to the project without affecting the main branch. We'll be creating the following branch structure:
D add_classics
/
A - B - C main
The add_classics branch will have all the commits from the main branch, plus a new commit.
title, director, year
One Crazy Summer, Savage Steve Holland, 1986
The Princess Bride, Rob Reiner, 1987
The Goonies, Richard Donner, 1985
The Breakfast Club, John Hughes, 1985
Monty Python and the Holy Grail, Terry Gilliam, 1975
Run and submit the CLI tests from the branch you're on (should be add_classics).
You should be able to see which commits each branch tip points to in the log output. The main branch should point to commit "C" which should be right before your most recent commit "D" that add_classics points to.