Claude Code hangs after 'git rebase origin/main' completes

Resolved 💬 3 comments Opened Dec 3, 2025 by JamesNati Closed Feb 3, 2026

Description

Claude Code instance becomes completely unresponsive after running git rebase origin/main command, even though the rebase completes successfully.

Reproduction

  1. Run git rebase origin/main through Claude Code (either directly in bash tool or as part of a plan)
  2. Wait for rebase to complete
  3. Instance hangs and becomes unresponsive

Details

  • Exact command run: git rebase origin/main
  • Reproducibility: Consistent - happened twice today at the same point
  • Rebase status: Command completes successfully (verified with git status showing rebased commits)
  • Instance state: Completely unresponsive - cannot interrupt with Ctrl+C, cannot run new commands
  • Recovery: Only way to recover is to kill the window entirely

Expected Behavior

After a bash command completes, the Claude Code instance should remain responsive and ready for new commands.

Environment

  • Platform: Windows

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗