Repository navigation
v0.2.0
apply now clones the live database first, the way git worktree add branches from the current commit. When the live database is in use, the fork is cloned from the template instead, with a warning giving the number of open connections and the snapshot's age; --terminate closes the connections and clones the live database after all. A fork that did come from the live database re-snapshots the template from itself, so the fallback is as current as the last worktree you created.
Also fixed: template refresh without --terminate against a running app used to delete the snapshot before failing. It now checks for connections first and keeps the snapshot it had.
Install worktreepg 0.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/itsjamie/worktreepg/releases/download/v0.2.0/worktreepg-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/itsjamie/worktreepg/releases/download/v0.2.0/worktreepg-installer.ps1 | iex"Download worktreepg 0.2.0
| File | Platform | Checksum |
|---|---|---|
| worktreepg-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| worktreepg-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| worktreepg-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| worktreepg-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| worktreepg-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |