Practice

Commit One Change

CommitsbeginnerPractice

Commit One Change

You fixed a typo in README.md. You also have scratch.txt with notes to yourself, which must not end up in the project's history.

Your mission

Make a commit called Fix typo in README that contains only the README fix, and leave scratch.txt untracked.

No steps and no hints here: GitDojo checks the repository after every command and edit, whichever way you get there.

Setting up the repository…

Another task

Want the guided version? Create Your First Commit

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.