Git Worktree
Git Worktree
Un Git Worktree es otra carpeta vinculada a un mismo repositorio. Permite tener varias ramas abiertas a la vez.
Otro ejemplo
Un árbol de trabajo ejecuta una función larga. Otro comienza desde main y corrige de manera segura un error urgente de producción.
Partes principales
- 01Branch or change set
- 02Review and verification gate
- 03Released result
Úsalo cuando
Úsalo para ramas paralelas, tareas de agentes separadas, correcciones de lanzamientos o comparaciones que necesiten sus propias carpetas.
No lo uses cuando
No anides worktrees, borres carpetas bajo Git ni des rutas que se crucen a agentes independientes.
Nombre usado en código
git worktree add/list/remove Antes de lanzarlo
Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback.
Outcome: Complete the task with Git Worktree (Git Worktree). User context: Un árbol de trabajo ejecuta una función larga. Otro comienza desde main y corrige de manera segura un error urgente de producción. Delivery concept or operation: Git Worktree (Git Worktree). Why it fits: Úsalo para ramas paralelas, tareas de agentes separadas, correcciones de lanzamientos o comparaciones que necesiten sus propias carpetas. Do not use it when: No anides worktrees, borres carpetas bajo Git ni des rutas que se crucen a agentes independientes. Delivery requirements: Name the code repository and target. List preconditions, changes, review and CI checks, conflict and data-loss risks, release order, and the rollback or recovery command. Repository safeguards: Keep unpublished work and a clear history. Do not run destructive steps without an explicit backup. Check the exact code diff and remote target before publishing. Acceptance criteria: Review the intended diff and pass all required checks. Keep the target version traceable. Practice failure recovery and keep published history clear. Evidence and limits (evidence boundary): Es oficial para esa fuente. Otras plataformas o equipos pueden usar el término de otra manera. Unknowns to confirm: Repository, branch, team activity, release environment, approval owner, protected checks, and rollback target.
Revisa esta petición
Review how Git Worktree (Git Worktree) is used now. Definition: Un Git Worktree es otra carpeta vinculada a un mismo repositorio. Permite tener varias ramas abiertas a la vez. Release checks: Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.