Get it for macOS

Start a thread with your installed dependencies, build caches, and uncommitted changes already in place. Each thread gets an independent checkout that shares disk blocks until files change, using Btrfs snapshots or reflink copies. Select Btrfs Cow in the environment picker; the plugin checks filesystem support on the chosen machine. Requires Linux, Git, GNU cp with reflink support, and a compatible filesystem such as Btrfs or XFS; snapshot mode also needs the btrfs command.


Overview

View source

Keep your checkout ready to work

New thread environments carry the checkout's Git history, installed dependencies, build caches, and uncommitted files. Each copy has its own Git metadata and working files, while unchanged file data shares disk space with the source.

Choose an environment

Select Btrfs Cow in BB's environment picker. The plugin checks the selected machine and project before offering the environment. A Btrfs subvolume uses a snapshot; a regular directory on a compatible filesystem uses a reflink copy. BB removes the copy when the environment is destroyed.

Requirements

Requires BB 0.42 or later, Plugin SDK 0.4.53 or later, Linux, Git, and GNU cp with reflink support. The checkout and copy destination must support reflinks between them, such as on the same Btrfs or XFS filesystem. Snapshot mode also needs the btrfs command. Linked Git worktrees are not supported as source checkouts.

The plugin copies local files and removes its managed copies. It requires no external service or account.

More from Sawyer Hood

More in Code & Reviews 27

Work with repositories, builds, changes, pull requests, issues, and reviews.

View all