WEEK 7 · LESSON 3 · TOPIC 1 OF 8 · Core Idea

Core Idea

Lesson progress

0% Complete

SECTION 1 OF 1

In this topic · 1 sections
  1. Overview

Overview

Staging is the act of selecting changes for the next commit. The git add command does not permanently save a version; it moves selected changes from the working directory into the staging area.

The staging area exists so that a commit can be deliberate. You can review a group of changes, include only the ones that belong together, unstage mistakes, and then commit the final selection.