Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(config): Move pre-merge command section
Maximilian Roos9364c77ad7cc
diff --git a/.config/wt.toml b/.config/wt.tomlindex 3f42c7009..50dfc8311 100644--- a/.config/wt.toml+++ b/.config/wt.toml@@ -17,14 +17,16 @@ post-start-command = """cp -cR {repo_root}/target/. {worktree}/target/"""+# Post-merge commands+# These run in the main worktree after successful merge and push+# Available template variables: {repo}, {branch}, {worktree}, {repo_root}, {target}+post-merge-command = "cargo install --path ."+# Pre-merge commands# These run sequentially before merging to main# All commands must exit with code 0 for merge to proceed+# Note: This must come AFTER post-merge-command because [pre-merge-command] starts+# a TOML table section, and everything after it would be inside that section[pre-merge-command]pre-commit = "pre-commit run --all-files"insta = "NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never cargo insta test --test-runner nextest --test-runner-fallback true"--# Post-merge commands-# These run in the main worktree after successful merge and push-# Available template variables: {repo}, {branch}, {worktree}, {repo_root}, {target}-post-merge-command = "cargo install --path ."