Skip to main content

Practice · 1 of 1

The Everyday Git Rhythm

CHALLENGE
Difficulty: beginner+25 XP

Write a function commitSequence() that RETURNS an array of git commands — in order — for this situation: you just created a new project folder, and you have finished your first page and want to record it. Include exactly: initializing the repo, checking the state, staging everything, and committing with the message "First page".

Back to lesson: Practice: Git: A Time Machine for Your Code — Practice