Let AI refactor fearlessly
Ginkgo's got your back
Your AI agent rewrites 30 files at once. No problem.
checkpoint confirms restore points, staging push protects changes instantly.
Ginkgo Backup for AI Coding provides verified restore points via the checkpoint CLI command before AI refactors, instant file protection with staging push, and snapshot diffing — supporting Cursor, Claude Code, Windsurf, and 5 other AI tools.
Ever been here?
Ginkgo's CLI lets your AI agent create verified restore points before every refactor. Break something? Roll back per-file. Zero friction.
Preset prompts. One-click protection.
No manual rules. Ginkgo generates them for you.
Copy the preset prompt from Ginkgo's AI Coding page and send it to your AI agent — it analyzes your project and installs the rule files automatically. Your AI agent reads them and follows the backup strategy. Zero config.
Copy the prompt
Open Ginkgo's AI Coding page, select your AI tool and backup source, then click "Copy Prompt" — Ginkgo generates the complete rule file content for you
What you get
Purpose-built for the AI coding workflow
checkpoint — verified restore points
ginkgo checkpoint triggers a backup and waits for completion before returning. If a backup is already running, it waits for that. The "safety gate" designed for AI agents.
staging push — instant protection
ginkgo staging push sends changed files to the COW staging area in seconds — no waiting for scheduled backups. Supports path lists and JSON input, up to 500 files.
diff — snapshot comparison
ginkgo diff compares the last two snapshots, showing new/changed/deleted file counts and new data volume. See the impact of an AI refactor at a glance.
history — per-file version history
ginkgo history <file> shows the full version history of a single file — snapshot time, size, content hash for each version. Pinpoint exact changes.
18 CLI commands
status, backup, checkpoint, staging push, snapshots, restore, diff, history, verify, mount, export, retention, and more — covering the entire backup lifecycle.
AI-generated backup notes
ginkgo generate-note automatically creates a backup summary from the latest snapshot data, documenting what changed for easy retrospection.
Works with every AI coding tool
Code fearlessly. Ginkgo handles the undo.
Free tier includes all CLI commands. Protect up to 5 projects.