Crashed after committing to git
Resolved 💬 4 comments Opened Nov 4, 2025 by radoslawjez Closed Jan 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Sorry . I am bad at reporting.
I appreciate you wanting to help improve Claude Code! To report this crash
issue with committing images, you can file a bug report at:
https://github.com/anthropics/claude-code/issues
When you report it, it would be helpful to mention:
- That Claude crashes when committing image files
- The specific error or behavior you observed
- Your system info (Linux 6.8.0-85-generic)
- That it happened with .jpg files in a git commit operation
This will help the Claude Code team investigate and fix the issue. Thanks
for taking the time to report it!
It was a memory error.
Regards
What Should Happen?
Claude should commit to git localy. It was 2 jpg files. It crashed
Error Messages/Logs
MEMORY ERROR AFTER THAT CODE IN LINUX CONSOLE:
● You're right to check! Let me verify the git status:
● Bash(git status)
⎿ Na gałęzi master
Nieśledzone pliki:
(użyj „git add <plik>...”, żeby uwzględnić, co zostanie złożone)
… +5 lines (ctrl+o to expand)
● Bash(git log --oneline -5)
⎿ b1aff72 Add 2025-ready GDPR cookie consent banner
f178eca Add professional Privacy Policy page
c122fd6 Make closing message EPIC with shiny animated text
… +2 lines (ctrl+o to expand)
● Yes, the cookie consent changes were already committed in commit b1aff72
"Add 2025-ready GDPR cookie consent banner".
There are just two untracked image files (hero-image.jpg and
size-guide.jpg) that haven't been added to git yet. Would you like me to
add and commit those images?
> yes
● Bash(git add assets/images/hero-image.jpg assets/images/size-guide.jpg &&
git
commit -m "Add hero and size guide images…)
⎿ [master d428b2b] Add hero and size guide images
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 assets/images/hero-image.jpg
create mode 100644 assets/images/size-guide.jpg
* Tomfoolering… (esc to interrupt)
⎿ Tip: Create custom slash commands by adding .md files to
.claude/commands/
in your project or ~/.claude/commands/ for commands that work in any
project
Steps to Reproduce
Commit *jpg files to GIT localy
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.32 (Claude Code)
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗