Project Overview
Part of the Version Control section of Coddy's Terminal journey — lesson 23 of 58.
You are about to start version-controlling a tiny website project called Coddy Cookbook. By the end of this chapter the project folder will be a real Git repo with a clean history of the work.
The starting folder contains:
index.html: the home pagestyle.css: a small stylesheetrecipes/pasta.md: one recipebuild.log: a build artifact you do not want in version control
Across the next few lessons you will:
- Initialize the repo and add a
.gitignore - Make the first commit with the initial site
- Add a second recipe in a new commit
- Inspect the history to confirm everything is in place
This first lesson is a warm-up. List every visible file so you know what you are working with.
Challenge
BeginnerList the files and directories in the current folder using ls. The output should be sorted alphabetically.
Cheat sheet
Use ls to list files and directories in the current folder (output is sorted alphabetically by default):
lsTry it yourself
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
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