A small CLI for creating, opening, listing, and safely cleaning up Git worktrees.
// momentum
// why it's here
- Created 8 weeks ago and already shipping
- Health 99/100 with only 5 stars
- 8 releases in the last 90 days
// how to help
// readme
Timber
Git worktrees without the bookkeeping.
Work on several Git branches at once, each in its own folder. Timber creates, opens, lists, rebases, and removes Git worktrees. It can also run setup scripts and launch your editor or coding assistant.
Compared with plain git worktree
| Task | Plain Git | Timber |
|---|---|---|
| Start a branch in its own folder | git worktree add -b fix-login-bug ../acme-worktrees/fix-login-bug main |
timber new "Fix login bug" |
| See every worktree and its state | git worktree list, then git status in each folder |
timber ls |
| Clean up when finished | git worktree remove ../acme-worktrees/fix-login-bug, then git branch -d fix-login-bug |
timber done fix-login-bug |
Timber picks the folder and branch name, remembers each branchβs base for rebases and cleanup, and applies the same safety checks every time.
Quick start
You need Git. Linux x86_64 is the tested platform. macOS is available in beta for Apple Silicon and Intel.
On Linux and macOS: