Menu
Coddy logo textTech

Recap - First Commits

Part of the Version Control section of Coddy's Terminal journey — lesson 14 of 58.

challenge icon

Challenge

Medium

Combine everything from this chapter. Starting from a folder that already contains app.py:

  1. Initialize the repo on the main branch.
  2. Configure local user as Recap Learner / recap@coddy.tech.
  3. Create a first commit with message Add app containing app.py.
  4. Create a new file config.py with the contents DEBUG = True.
  5. Commit it with the message Add config.
  6. Print the number of commits so far using git rev-list --count HEAD.

Try it yourself

Terminal

All lessons in Version Control