One worktree for every agent
Eight worktrees start at once and register together. Any agent works in its own checkout.
Measured on a large repository
vercel/next.js at HEAD, 35,856 files, Apple M5, APFS, 10 interleaved runs.
5.2x
Faster to create than git
- cleft0.85 s
- cleft --verify=hash1.12 s
- git-cow2.35 s
- git-coworktree2.97 s
- git4.45 s
- git-twig8.43 s
17.7x
Less disk than git
- cleft16.9 MiB
- git299.5 MiB
2.9x
Faster with 8 worktrees at once
- cleft5.69 s
- git-cow10.34 s
- git16.61 s
- git-coworktree17.51 s
- git-twig28.94 s
142 KiB
One small binary
- Third-party dependencies
- Pure, no runtime to install
- Index, against 5.24 MiB for git
Install in a minute
Then run cleft add -b feature/work ../wt-feature.
Homebrew
Steps for Homebrewbrew tap arcadia-eng/cleft https://github.com/arcadia-eng/cleft brew install cleftRelease binary
Steps for Release binaryawk -v file="$archive" '$NF == file' SHA256SUMS | sha256sum -c - tar -xzf "$archive" install -m 0755 cleft "$HOME/.local/bin/cleft"Source
Steps for Sourcegit clone https://github.com/arcadia-eng/cleft.git cd cleft make && sudo make install
Still plain Git
- Submodules and sparse checkouts
- Attributes, filters and hooks
- SHA-256 repositories
- List, lock, move, remove and prune