Explain a Merge on Its Way Live

The deals for Christmas week are live, the last issue is closed with a link to the live page, and npm run check ends with “All checks passed.” Your laptop didn’t upload a single file to get there. Every merge into main built the site on GitHub and published it on its own.

On a team, the next question is whether you can explain that setup to someone who wasn’t watching. In this lesson, the mentor plays a teammate on their first day. You’ll hand over your report, walk them through what happens between a merge and the live page, and then take one small correction live while they review it.

Gather What You’ll Paste

The mentor only sees what you paste, the way a teammate reads your notes without your laptop in front of them. Have these two pieces ready in a text file or a note before you start:

  1. Your npm run check report. You saved it as deploy-check.txt in the folder above the project. From the project folder, print it with cat ../deploy-check.txt, or open it in VS Code. If you haven’t saved it, then switch to main, pull, and save a fresh report with npm run check > ../deploy-check.txt.

  2. The live link. Copy the address of your live deals page from the comment that closed “Add the deals for the week of December 23,” or type it in as https://<your-login>.github.io/generic-grocery/deals.html with your own login.

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.