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
- Run
git rebase origin/mainthrough Claude Code (either directly in bash tool or as part of a plan) - Wait for rebase to complete
- 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 statusshowing 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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗