Explain Your Week of Commits

Your week of to-dos is done. The deals, the bakery, the typo, and the Thanksgiving hours are all in your history, and the check script reports that everything is committed. What’s left is the part of the job that happens on every team: someone else reads your history and asks you about it.

In this review, you’ll walk the mentor through your week. You’ll explain why you grouped each commit’s changes, show where you used git commit --amend and, if an edit went wrong, git restore, and answer the egg price question from your log. Then you’ll get one more request that you haven’t seen yet and make it a focused commit while the mentor watches your steps.

Get Your Project Ready

The review works from your real repository. Open the generic-grocery folder in VS Code. In its terminal, run git log --oneline and node scripts/check.js, the same two commands you ran at the end of the project.

Keep both outputs where you can copy them, because the mentor asks for them first. Your log should show your week on top of the five commits you started it with, and the report should end with “All checks passed.” If the report shows a line with ✘, don’t worry. Paste the report anyway, and the mentor helps you fix the problem before the review goes on.

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.