Git Sync projects migration for Insomnia 12.6

Beta and uses: Insomnia
Related Documentation
Minimum Version
Insomnia - 12.6
Related Resources

Starting with Insomnia v12.6.0, Git Sync projects use a standard .git/ folder layout so you can manage your API collections with:

  • The Git CLI
  • GitHub Desktop
  • VS Code’s source control panel
  • Other Git tools

The first time you open Insomnia v12.6.0, the app asks you to run a one-time migration to update your local project files to this new layout.

What changed

Before Insomnia v12.6.0, Insomnia stored Git internals in a private git/ folder and kept other project files in an other/ subfolder. The new layout matches a standard Git repository:

Project files

Insomnia v12.5 and older

Insomnia v12.6 and newer

Git internals Stored in a private git/ folder. Stored in a standard .git/ folder.
Non-Git files Non-YAML files stored in an other/ subfolder.
  • Non-YAML files sit at the top of the Insomnia project’s repository.
  • Workspace metadata is in version-control/git/<id>/insomnia.<project-id>.yaml.

The migration only changes file paths. It doesn’t change:

  • API collections
  • Environments
  • Settings

How to run the migration

  1. Open Insomnia v12.6.0 for the first time: a migration screen appears automatically.
  2. Read the summary on the What’s new screen.
  3. Click Continue.
  4. On the migration screen, click Update Now.
  5. Insomnia migrates all your Git Sync projects in a few seconds. When it’s done, click Open Insomnia.

The migration runs once. Future launches open Insomnia normally.

Validate

After migrating to Insomnia v12.6, you can:

  • Run Git commands like git status, git log, and git pull in your Insomnia project repository directly from your terminal.
  • Open the folder in any Git GUI.
  • Continue using Insomnia’s built-in Git Sync exactly as in previous versions.

The migration doesn’t affect:

  • Pending changes: The migration preserves uncommitted edits and in-progress work.
  • Duplicate migrations: Insomnia ensures each project is only migrated once.

How to roll back to an older version

The Insomnia 12.6 file layout preserves your project data. However, older versions of Insomnia (pre-v12.6.0) don’t understand the new .git/ layout. If you need to roll back to an older version:

  1. Don’t delete the project folder: it still contains the data.
  2. Back up your project: push any uncommitted changes to your remote from the Insomnia UI or the Inso CLI.
  3. Install the older version.
  4. Clone the project again from its remote through Insomnia’s Git Sync settings.

FAQs

Yes. Your data is never deleted. The migration moves and restructures files, it doesn’t remove them.

Warnings mean that Insomnia migrated most projects, but a few couldn’t update automatically. Those projects are listed on screen. Insomnia has disconnected them from their Git remote and converted them into local projects so you don’t lose any data. To restore Git Sync:

  1. Open the project in Insomnia.
  2. Go to Project Settings → Git Sync.
  3. Reconnect the project to its remote repository.

If an unexpected error stops the migration before it finishes, your data remains intact and nothing is deleted. Click Retry Update to try again. If the problem persists, either:

  • Copy the error logs and visit the Git Sync docs.
  • Open a support ticket.

No. Insomnia migrates all Git Sync projects in parallel and the process typically completes in a few seconds, regardless of how many projects you have.

This means its migration hit an error and the project was converted to a local project to preserve your data. Reconnect it via Project Settings → Git Sync. Your remote history is untouched.

Yes. Each person needs to migrate their local installation independently. The migration only changes local files; it doesn’t push anything to the shared remote.

No. To use Insomnia v12.6.0 and later versions, you need to run the migration. The migration screen continues to appear until it completes successfully.

This means a previous migration attempt didn’t finish (for example, the app was closed mid-run). Click Update Now to complete it. If the problem persists, copy the error logs and visit the Git Sync docs or open a support ticket.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!