0/5

Challenge10

beginner

First Repository Challenge

Scenario

A teammate hands you a small project, README.md and index.js, that has never been tracked. Turn it into a repository whose history starts with one commit containing both files, and leave nothing uncommitted.

There are no step-by-step instructions this time. Use what you learned in this course, and check your progress with git status and git log whenever you like.

Mission

Put a brand-new project under version control with a single, complete first commit.

Objectives

0/5
  1. The project folder is a Git repository. (Current objective)
  2. README.md is staged. (Not started)
  3. index.js is staged. (Not started)
  4. The working tree is clean. (Not started)
  5. The history contains exactly one commit. (Not started)

Your task nowStep 1 of 5

The project folder is a Git repository.

Need help?

Preparing your workspace…

Repository Graph

Click a commit to inspect it

0 commits

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.