Tech Tuesday - Git Worktrees

Опубликовано: 31 Март 2026
на канале: Tech Tuesday by Bitcube
3,804
56

Manage multiple working trees attached to the same repository.

A git repository can support multiple working trees, allowing you to check out more than one branch at a time. With git worktree add a new working tree is associated with the repository. This new working tree is called a "linked working tree" as opposed to the "main working tree" prepared by git-init or git-clone. A repository has one main working tree (if it’s not a bare repository) and zero or more linked working trees.

Learn more: https://git-scm.com/docs/git-worktree