Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Working tree, staging area?

También llamado: working tree · staging area · index (Git)

Definition 9.3 University Computer Science — Year 1 · Capítulo 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.
Leer en el capítulo →