Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Add `sync` hook to post-merge section
Maximilian Roos70b861e44054
diff --git a/.config/wt.toml b/.config/wt.tomlindex c18aca3ac..80ebf989a 100644--- a/.config/wt.toml+++ b/.config/wt.toml@@ -23,6 +23,7 @@ cp -cR {{ repo_root }}/target/debug/.fingerprint {{ repo_root }}/target/debug/bu[post-merge]build = "cargo build --all-targets"install = "cargo install --path ."+sync = 'if [ "{{ target }}" = "main" ]; then git pull && git push; fi'# Pre-commit hooks# These run sequentially before committing changes during merge (both squash and no-squash)