Team Up Vocabulary
Word Bank
| branch | main branch | checkout |
| clone | push | pull |
| pull request | code review | merge |
| merge conflict | collaborator | conflict markers |
Fill In the Blanks
- A is a parallel version of your project.
- The is the primary shared version.
- To means to switch between branches.
- To means to download a repository to your computer.
- To means to send your commits to GitHub.
- To means to download the latest changes from GitHub.
- A is a proposal to merge your branch into main.
- A is when you read and comment on someone else’s code.
- To means to combine changes from one branch into another.
- A happens when two people changed the same lines.
Quick Checks
-
Put the collaboration workflow in order (number them 1-6):
Open a pull request
Create a branch
Review a teammate’s PR
Merge into main
Push your branch
Build your feature -
True or False:
- You should work directly on the main branch:
- Merge conflicts mean someone made a mistake:
- Code review should be constructive and specific:
Stretch: Write a Review Comment
A teammate added this code to change the quiz title. Write a constructive review comment:
document.querySelector("h1").textContent = "my quiz";
Your comment: