rebase in progress 🌿 Git

fatal: It seems that there is already a rebase-merge directory, and I wonder if you are in the middle of another rebase.

A previous rebase is still in progress (or was interrupted).

Seen on: Git

Meaning

Git keeps rebase state in .git/rebase-merge. Continue, skip or abort it before starting another.

Common causes

  • Unfinished rebase with conflicts
  • Interrupted rebase (terminal closed)

⚡ Quick fix

  1. git rebase --continue after resolving
  2. git rebase --abort to go back
  3. git rebase --quit to drop rebase state but keep the current HEAD

Detailed fix by platform

Git

  1. bash
    git status   # shows rebase progress
    git rebase --abort

How to diagnose

  1. State — git status mentions a rebase?
  2. Recent change — Did it start after a deploy, upgrade, or configuration change? Compare with the last working version.

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.