git worktree
A separate checkout and index sharing the same Git repository.
Use this when You need another branch without disturbing unfinished edits.
without the term
“I want you to work on a second branch at the same time without messing up the changes I have open right now. Make a separate copy of the repo somehow, but don't stash my stuff.”
with the term · How do you ask a model for git worktree?
Create a Git worktree for this task. Check status in both checkouts and identify shared ports, environment files, or databases.
What is git worktree?
A worktree gives a branch its own working directory. Git history is shared; runtime resources may still overlap.
Why does git worktree matter when vibe coding?
Parallel edits can accidentally touch the current checkout or the same development database.
How do you do git worktree?
Create the checkout and identify shared ports and data. Check git status in both directories.
What goes wrong with git worktree?
A separate directory still connects to the same database.