Hasty Briefsbeta

Jujutsu Worktrees Are Convenient

8 days ago
  • #git
  • #jujutsu
  • #version-control
  • Jujutsu worktrees (called 'workspaces' in Jujutsu) allow working on a project in multiple folders with different states while sharing a single history and git state.
  • They are more efficient than maintaining separate clones and enable building changes in one folder on top of changes in another.
  • Useful for multitasking, such as when waiting for CI to complete without disrupting the current work by stashing.
  • Jujutsu (jj) simplifies worktree management with commands like `jj workspace add ../project-name-2` to create a new workspace.
  • The `jj log` command displays which changes each workspace is currently editing.
  • Documentation is available via `jj workspace --help`.