Challenge
beginnerFirst Commit
Scenario
A friend sent you their portfolio site as a plain folder: a README, a page and a stylesheet. It has never been under version control. There is also a debug.log their editor keeps rewriting, which has no business in a repository.
Mission
Put the project under Git with a single commit holding the site, keep debug.log out of history for good, and leave a clean working tree.
Objectives
0/5- The folder is a Git repository. (Current objective)
index.htmlis committed. (Not started)- History has exactly one commit. (Not started)
debug.logis not tracked by Git. (Not started)- The working tree is clean, so
debug.logis ignored rather than just left out. (Not started)
Your task nowStep 1 of 5
The folder is a Git repository.
Preparing your workspace…
Repository Graph
Click a commit to inspect it
Working Tree
Not a Git repository yet
No unstaged changes
Your working tree matches the staging area.
Staging Area
Files prepared for the next commit
No staged changes
Use git add to prepare files for your next commit.
Repository
Committed history
No commits yet
Use git commit to record staged changes.
