Re:Rift: Better Alternative to Git Worktrees
by madarco on Tuesday June 02, 2026 @04:29AM
(#48367485)
you are right, I've experimented with cp -a on macOS as well for https://github.com/madarco/agentbox and in the end found it's actually faster to use worktrees inside docker containers while mounting your .git repo inside them.
Then after the node_modules (or apt packages) are installed, take a docker commit snapshot.
Now I have truly isolated parallel workspaces in <10s.
Also the system was easy to adapt to cloud environments as well so now I have Hetzner, Vercel, Daytona as well (using their native snapshotting systems for fast boot after the initial setup)
Then after the node_modules (or apt packages) are installed, take a docker commit snapshot.
Now I have truly isolated parallel workspaces in <10s.
Also the system was easy to adapt to cloud environments as well so now I have Hetzner, Vercel, Daytona as well (using their native snapshotting systems for fast boot after the initial setup)