Skip to main content

Practice ยท 1 of 1

The Everyday Git Rhythm

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".

Difficulty: beginner

Back to lesson: Practice: Git: A Time Machine for Your Code โ€” Practice