Automatic on checkout
A Git hook provisions the right database the moment you switch branches. First visit: create → migrate → seed. Every visit after that: instant.
Automatic on checkout
A Git hook provisions the right database the moment you switch branches. First visit: create → migrate → seed. Every visit after that: instant.
Your stack, not ours
Plugin-based on every axis: PostgreSQL, MySQL, and SQLite datasources; Prisma, Drizzle, and Knex migrators; env file and direnv resolvers — and room for yours.
Fast via snapshots
Fully migrated-and-seeded golden images are cached by migration fingerprint, so new branches clone in well under a second instead of paying a full migrate + seed.
Safe by design
branchly only ever touches databases it created, never drops protected branches, and confirms before anything destructive. Your data stays yours.
npm install --save-dev branchlynpx branchly initinit detects your stack, installs the adapters it needs, writes a config, and wires up the Git hook. From then on, switching branches just works:
git checkout -b feature/login # branchly provisions a fresh databasegit checkout main # …and instantly switches back to main'sCurious how it all fits together? Start with why branchly exists, or jump straight to the quickstart.