Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Working tree, staging area?

Ook bekend als: working tree · staging area · index (Git)

Definition 9.3 University Computer Science — Year 1 · Hoofdstuk 9 — Version Control with Git

The working tree is the folder of the project, the files as you edit them. The staging area (also called the index) holds the snapshot that the next commit will record; git add copies a file of the working tree into it, and git commit records it in the repository.

The three places a file lives in. git add and git commit move changes to the right; git restore brings a file back from the staging area, and git restore --staged unstages it. Each diff compares two neighbouring places.
The three places a file lives in. git add and git commit move changes to the right; git restore brings a file back from the staging area, and git restore --staged unstages it. Each diff compares two neighbouring places.
Lees in het hoofdstuk →