LAB 18 OF 31

Git: branch, commit and merge

Put the Git steps in the right order for one small Daily List test change.

The diagram

Tom wants to add a new test file to the Daily List repository without touching the main line until it is reviewed. Choose the right step each time.

  1. What is the first step?
  2. He has written the test. What next?
  3. How does he ask for review?
  4. Two people changed the same lines. What does Git do?

0 of 4 steps chosen.

SYNTHETIC / TRAINING ONLY. The Daily List app and the people in it are made up, and every number is a teaching figure.

What this shows

A branch holds your change apart from the main line. A pull request asks for review before it is merged.

Read the lessons

NEXT LAB: READ THE HTTP REQUEST →