|
|
|
|
|
by adrianmonk
854 days ago
|
|
Don't worktrees require more work to actually run your code because of multiple working directories? If you're using an IDE, you'll probably need to create a project for each working directory. Or maybe you can change the path within the IDE's project. If you're running a local web server, it will need to be configured for each working directory, again either multiple instances or one where you keep updating the path. For compiled languages, the builds will take longer. When you create a new worktree, you may have to do a full build. Even if you have incremental builds, as you pull in upstream changes, you'll have to do N incremental builds instead of 1 incremental build. It's not the end of the world, but it's a bit of hassle and extra computation that isn't needed with just one working copy. |
|
I wouldn't use gitbutler for what I use worktrees, and I wouldn't use worktrees for what I think gitbutler is aiming at.