Recap - First Commits
Part of the Version Control section of Coddy's Terminal journey — lesson 14 of 58.
Challenge
MediumCombine everything from this chapter. Starting from a folder that already contains app.py:
- Initialize the repo on the
mainbranch. - Configure local user as
Recap Learner/recap@coddy.tech. - Create a first commit with message
Add appcontainingapp.py. - Create a new file
config.pywith the contentsDEBUG = True. - Commit it with the message
Add config. - Print the number of commits so far using
git rev-list --count HEAD.
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