Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

refactor: Reorder post-merge-command configuration

Maximilian Roos9b3e7d6bc262
diff --git a/.config/wt.toml b/.config/wt.toml
index 0955688aa..8ea7c0051 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -18,14 +18,14 @@ cp -cR {repo_root}/target/. {worktree}/target/ &&
echo '✓ CoW seeded 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 checks
# These run sequentially before merging to main
# All commands must exit with code 0 for merge to proceed
[pre-merge-check]
pre-commit = "pre-commit run --all-files"
insta = "cargo insta test"
-
-# 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 ."