3 ms·
git worktree uses one repo to laid out multiple branches in separate directories. git worktree add new/path/for/worktree branchname I now refuse to use git ch
by jumski 1y ago
git worktree uses one repo to laid out multiple branches in separate directories.
git worktree add new/path/for/worktree branchname
I now refuse to use git checkout to switch branches, always keep my main branch checked out and updated and always use worktrees to work on features. Love this workflow!