Sublime Forum

"Git has stopped working" - Trying to install package

#1

I just upgraded to ST3 and installed the package manager throughout git on a Windows machine. Now the problem that I’m facing is that I’m unable to
install a package with the notifaction “git windows has stopped working”.

Can’t find anything on google about it. Also git on it’s self works perfectly fine.

0 Likes

#2

I went into package manager and if I remove the package “git” then the error goes away. If I install “git” and restart then the errors happen.

I then opened the standard windows command prompt and typed "git’ and got the same error. So I know this is actually git related (it might be the path to the git.exe itself - the git bash still works).

I reinstalled git and during the installation I selected the option “Use Git from the windows Command prompt” as opposed to only from the GIT Bash. This adds stuff to your path so you can use the typical windows command prompt which is likely how sublime makes service calls to other tools like the git.exe. The windows installer uninstalls and reinstalls git with the new settings.

Now I went to the command prompt and typed “git” and I get the typical help text.

So I went back into sublime and reinstalled the packages for both “Git” and “GitGutter”.

Everything works now.

0 Likes