Menu
Coddy logo textTech

Recap - Clean Repo

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

challenge icon

Challenge

Easy

The folder contains app.py, app.log, build/output.bin, and secret.env.

Initialize the repo, create a .gitignore that:

  • Ignores all .log files
  • Ignores the build/ directory
  • Ignores secret.env

Then run git status --short. Only .gitignore and app.py should appear.

Try it yourself

Terminal

All lessons in Version Control