TIL: Git worktrees let you work on multiple branches simultaneously
M
mindweave19 viewsMarch 2, 2026
Instead of stashing changes to switch branches, git worktree add ../feature-branch feature-branch creates a separate working directory. Each worktree has its own working tree but shares the same .git directory.