Integration

mrq + GitHub Copilot

Automatic snapshots for GitHub Copilot. Recover when AI suggestions take your code in the wrong direction.

Why Copilot Needs Backup Protection

GitHub Copilot is excellent at generating code quickly. Accept a few suggestions in a row, and you've made significant changes to your file without really thinking about them.

Common scenarios where things go wrong:

  • Accepting multiple suggestions that don't work together
  • Copilot Chat making changes across multiple files
  • Generated code that compiles but has subtle bugs
  • Suggestions that work in isolation but break existing code

VS Code's undo helps for single files, but doesn't handle multi-file changes or situations where you've been accepting suggestions for a while.

How mrq Works with Copilot

mrq monitors your file system directly. Every change made by accepting Copilot suggestions is captured automatically.

npm install -g mrq-cli@latest
mrq login
mrq watch --daemon

The daemon runs in the background. Use Copilot normally in VS Code or any other editor.

Recovery Flow

When Copilot suggestions lead you astray:

$ mrq history

Recent Snapshots
────────────────────────────────────────────────────
  09:45:23  abc123  Added API response handling
                    +89 lines, -12 lines across 3 files

  09:42:15  def456  Implemented fetch utilities
                    +56 lines, -8 lines across 2 files

  09:38:02  ghi789  Initial API module
                    +34 lines across 1 file
────────────────────────────────────────────────────

$ mrq restore def456
✓ Restored to snapshot def456

Best Practices

Capture Before Copilot Chat Sessions

Copilot Chat can modify multiple files. Before asking it to make changes, confirm mrq has a recent snapshot.

Review with Dashboard

The mrq dashboard shows exactly what changed in each snapshot. Use it to understand what Copilot modified before deciding to restore.

Explore Freely

With mrq running, you can accept Copilot suggestions more freely. If a series of suggestions doesn't work out, recovery is trivial.

Works with All Copilot Features

  • Inline suggestions: Tab completions captured
  • Copilot Chat: Multi-file changes tracked
  • Copilot Edits: Edit mode changes included
  • Any editor: VS Code, JetBrains, Neovim

Related Resources

Get Started

npm install -g mrq-cli@latest
mrq login
mrq watch

Accept suggestions confidently

Automatic snapshots. Instant recovery. Let Copilot generate freely.

Get Started Free →