Recap - Clean Repo
Part of the Version Control section of Coddy's Terminal journey — lesson 22 of 58.
Challenge
EasyThe folder contains app.py, app.log, build/output.bin, and secret.env.
Initialize the repo, create a .gitignore that:
- Ignores all
.logfiles - 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
2Getting Started
Initialize A RepositoryThe .git FolderConfigure Your IdentityGit StatusRecap - First Repo8Merging
What Is A MergeFast-Forward MergeThree-Way MergeMerge ConflictsResolve A ConflictRecap - Merge Master11Feature Branch Project
Project OverviewInitialize Main3Tracking Changes
The Staging AreaGit AddGit CommitModifying A Tracked FileGit LogRecap - First Commits6Recipe Site Project
Project OverviewInitialize And Ignore