Copy git hooks during worktree init

This commit is contained in:
Dotta
2026-03-10 14:55:35 -05:00
parent 65af1d77a4
commit 93a8b55ff8
3 changed files with 151 additions and 2 deletions

View File

@@ -138,6 +138,7 @@ This command:
- writes repo-local files at `.paperclip/config.json` and `.paperclip/.env`
- creates an isolated instance under `~/.paperclip-worktrees/instances/<worktree-id>/`
- when run inside a linked git worktree, mirrors the effective git hooks into that worktree's private git dir
- picks a free app port and embedded PostgreSQL port
- by default seeds the isolated DB in `minimal` mode from your main instance via a logical SQL snapshot