Saturday, Jul 4, 2026
Worktree testing in git-spotlight
Buğra Gündüz added a CLI feature to git-spotlight that lets developers test a worktree's code against the main checkout.
The new command checkpoints a git worktree, capturing both uncommitted and untracked changes via a temporary index, then checks out the code detached in the main repository [1]. After testing, running the off command restores the original branch and stashed state. This brings worktree snapshot testing to the command line, mirroring what Conductor already does for the same workflow [1].
Sources
- git-spotlight: test a worktree's code in the repo's main checkout · bgrgndzz/git-spotlight