Practice

Start a Feature Branch

BranchesbeginnerPractice

Start a Feature Branch

You are about to build a dark theme. theme.css is written but not committed, and main should stay exactly as it is until the theme is reviewed.

Your mission

Commit theme.css as Add dark theme on a new branch called feature/dark-theme, so that main does not have it.

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? Commit on a Feature Branch

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.