AI Coding

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?

AI changed 20 files at once — nothing compiles
Refactored a whole module — logic is completely wrong
Ctrl+Z is laughably useless, and you forgot to commit

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.

Click "Sync AI Tool Integrations" in Ginkgo — it auto-generates all rule files for your project. Your AI agent reads them and follows the backup strategy automatically. Zero config.

Cursor
.cursorrules
Claude Code
CLAUDE.md
Windsurf
.windsurfrules
Cline
.cline/rules
Trae
.trae/skills/
Codex
.codex/skills/
Generic
AGENTS.md
Agent
.agent/workflows/

Option 1: One-click sync

Click "Sync AI Tool Integrations" in Ginkgo desktop — all rule files generated automatically

Option 2: Copy the prompt

Copy the preset prompt and send it to your AI — it analyzes your project and installs the rules

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

Cursor
Claude Code
GitHub Copilot
OpenAI Codex

Code fearlessly. Ginkgo handles the undo.

Free tier includes all CLI commands. Protect up to 3 projects.