Skip to content

Configuration Overview

vibe can be configured using TOML files to automate your workflow when creating and cleaning up worktrees.

FilePurposeGit tracked
.vibe.tomlShared team configurationYes
.vibe.local.tomlPersonal local overridesNo (gitignored)

Create a .vibe.toml file in your repository root:

# Copy files and directories from origin repository to worktree
[copy]
files = [".env"]
dirs = ["node_modules", ".cache"]
# Commands to run after worktree creation
[hooks]
pre_start = ["echo 'Preparing worktree...'"]
post_start = [
"pnpm install",
"pnpm db:migrate"
]
pre_clean = ["git stash"]
post_clean = ["echo 'Cleanup complete'"]

Before using configuration files, you need to trust them:

Terminal window
vibe trust

This registers the SHA-256 hash of your configuration files to prevent unauthorized modifications.