Avery's BlogHome Posts Projects Sitemap License
- What is a worktree? .................................................... [000]
- Branches ............................................................... [001]
- Using worktrees ........................................................ [002]
[000] What is a worktree? ------------------------------------------------------
A git worktree is your current working environment, and every non-bare
repository has at least one. The "main worktree" is created by git init or
git clone. A "linked worktree" is any newly created worktree, either on its
own branch created with git worktree add <name> or linked to an existing
branch with git worktree add <name> <branch>.
[001] Branches -----------------------------------------------------------------
[002] Using worktrees ----------------------------------------------------------
Written and published on 12/05/2026 14:30 UTC


























