11 ms·
Interesting. This is exactly my workflow, except I have 3 worktrees instead of 5: r/o remote, work and review.
by frizlab 2y ago
Interesting. This is exactly my workflow, except I have 3 worktrees instead of 5: r/o remote, work and review.
- kreetx 2y agoI'm similar, though I have a helper script to quickly jump into a worktree for a branch, and then asks me to delete it when I leave. The main repo is for work, and the semi-temporary ones are review, remote, or whatever else I need. The advantage of worktrees is to have only a single .git, instead of cloning it for every purpose, and also needing to update those separately.