Build and Deploy Verso / deploy (push) Has been cancelled
Previously the push did git-init from scratch and force-pushed, wiping everything in the remote branch that wasn't part of the Verso project. New approach: 1. git init + remote add origin + fetch --depth 1 origin/main 2. reset --hard FETCH_HEAD (skipped silently on first push to empty repo) 3. Clear only the managed area (subPath dir, or all non-.git files if no subPath is configured) so Verso deletions are still reflected 4. Write Verso docs and binary files 5. Write PDF at repo-root-relative pdfPath 6. git add -A + commit + push --force origin HEAD:main With a subPath configured, everything outside the subPath is fetched from the remote and preserved in the new commit unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>