Main, three commits.3 commits · on main
Chapter 3 of 7
A branch is a label
Mira wants to try a drill press sale without touching the live page. Git offers branches.
This chapter: What does Git make when you make a branch?
About this chapter
You will learn
- A branch is a name pointing at one commit
- Committing moves the branch you are on
- HEAD marks that branch
Words you’ll meet
- Branch
- A name that points at one commit and moves forward as you commit on it.
- HEAD
- Git’s marker for the branch you are on: new commits go there.
Step 1 of 5
To try the sale safely, a new , a separate line of work, starts from main’s newest crate.
Predict what making it adds.