Project config files

What Tegment stores in your repo's .tegment/ folder — and what it doesn't.

Last updated Nov 03, 2026

Tegment keeps a small amount of shared, per-project configuration in a .tegment/ folder inside the repository. These files are meant to be committed, so everyone who opens the project in Tegment gets the same setup. Everything else — your account, theme, keyboard shortcuts, and your GitHub/Jira credentials — is stored privately on your machine, not here.

You set all of this up through Tegment's UI — this page documents the on-disk format so you can review or version-control it, not because you have to edit it by hand. The folder is created the first time you save one of these configs; an empty repo won't have a .tegment/ until then.

.tegment/config.json#

Holds the commands tied to a project. See Quick actions for the full field reference.

KeyDescription
postCreationCommandsCommands run automatically, in order, after a worktree is created.
templatesReusable commands you launch on demand in a worktree.
.tegment/config.jsonjson
{
  "postCreationCommands": [
    { "name": "Install", "command": "npm install", "continueOnError": false, "order": 0 }
  ],
  "templates": [
    { "name": "Dev server", "command": "npm run dev", "runMode": "visible", "order": 0 }
  ]
}

.tegment/launch.config#

Holds your build & run configs.

KeyDescription
buildRunConfigsHow to build and start the app, used by the runner and over MCP.
.tegment/launch.configjson
{
  "buildRunConfigs": [
    { "id": "web", "name": "Web app", "runCommand": "npm run dev", "order": 0 }
  ]
}

.tegment/reviews/#

Where AI review saves its reviews, one Markdown file per ticket and reviewed commit. Unlike the files above, this folder is not meant to be committed: Tegment adds it to the repository's .git/info/exclude, so it stays in your clone and out of your changes.

.worktreeinclude#

Not part of .tegment/, but read by Tegment too: a file at the repository root, in .gitignore syntax, listing the gitignored files to copy into every new worktree, such as .env. Claude Code reads the same file. See Worktrees.

What lives outside .tegment/#

These are not in the repo — they're app settings on your machine, set through the UI: