Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Git Bash console crashes on open

I have been using Git Bash version 1.9.5 on Windows 8 successfully for a few weeks. This morning it stopped working. Every time I open Git Bash it shows up for a second and then crashes. I have searched everywhere for solutions; every forum says to uninstall Git and re-install a newer version. I have the newest version. I have re-installed Git and restarted my computer tons of times. I have tried opening Git from program files, from the console and from a few different shortcuts. I don't know what else to do.

Below is a screenshot of the split second the console window is open before it crashes.

Git crash error message

like image 208
Hannah Thompson Avatar asked Mar 04 '26 11:03

Hannah Thompson


1 Answers

I had the same issue which resolved after deleting all the configuration files on home directory C:\Users\<username>. These included .bash_history, .bashrc, .bash_profile, .bash_aliases, .gitconfig, .git-credentials, .minttyrc and .npmrc. After restoring them one by one and opening git bash, I found the culprit to be .minttyrc line Term=xterm-256color I removed this line and it solved the problem.

like image 81
jmuchiri Avatar answered Mar 06 '26 00:03

jmuchiri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!