The one real caveat to this is that if your application has particularly heavy cold starts it can be hard to actually run your worktrees. I usually end up swapping to a regular checkout as each worktree is due for hands-on attention.
lacunary 15 minutes ago [-]
I'm curious what the constraint preventing you from optimizing the cold start time - can you share more?
kajika91 40 minutes ago [-]
This is very interesting and could be very helpful for A/B testing or comparing outputs/speed between 2 branches.
I already know a place I want to use this.
jmpeax 1 hours ago [-]
What a peculiar title. The title suggest parallel dev without using worktrees, but the article is about using worktrees.
michaelsmanley 1 hours ago [-]
I thought that as well and then realized I had inserted the word "of" before "using" where there's an implied "by."
I use it's config to copy in some non-repo config and then hooks to start an agent doing analysis.
https://fossil-scm.org/home/doc/trunk/www/gitusers.md
I already know a place I want to use this.