Development

Disable Git in PhpStorm – Ultimate solution of system crash – Fixed

Written by Anup Kumar
Posted on - 7 min read

Git is the ultimate reason for system crash, when it comes with IDE like Visual Studio Code (VSC) or PhpStorm.

It’s amazing feature but only for small projects or you have lots of memory & CPU. Which is not the ideal case for developers.

But when your project is large and having 1000+ files then it start consuming lots of CPU & memory to map the git changes with its colourful representations.

I have worked with Netbeans, VSC and PhpStorm and found three making same system hang or crash problem till I disable the git sync feature from IDE like these.

How can you check git is enabled in PhpStorm or not?

1. Using UI you can identify git is enabled or not with below:

Git activated signs in phpStorm IDE screen
Git Activated Sign in PhpStorm IDE screen

How to disable git or version control system in PhpStorm?

There are following basic steps:

  1. Go to phpStorm -> Preference (settings for windows users)
  2. Find version control

3. Click on git and select none and click okay. Alternatively you can remove it by simply clicking on below last minus (-) sign. By removing from minus (-) will not remove it .git directory just remove the link from phpStorm.

How to cross verify git has been removed or not?

The simplest way is all UI things will be removed which I have mentioned above. like given below:

most important monitor your memory and CPU graph after disabling it. you will get huge change into that.

Thanks for your time and enjoy the coding without legging or system crash.

Happy coding!

Cheers!