How to disable attempts at git file management?

Answered

Hi,

I prefer to manage all my git interactions myself and end up having to disable it through several different boxes on every new project? Does anyone know how I can disable this system-wide? I still like seeing the state of files in git, but I don't ever want PyCharm to add or remove files or manage commits and branches, preferably without having to go to the settings to disable it every time I create a new project (or have to delete my .idea folder because PyCharm got out of whack).

Thanks,
Joshua

0
4 comments

Hello Joshua Holland

Do I understand correctly that you would like to disable Git integration completely? 
What exactly seems to be an issue? Do I understand correctly that you are actively working with git staging area and you do not like that IDE doesn't allow to work with it? 
If so you can enable "Enable staging area" under Preferences | Version Control | Git

>I still like seeing the state of files in git, but I don't ever want PyCharm to add or remove files or manage commits and branches

You can configure behavior of IDE toward new files or deleted ones under Preferences | Version Control | Confirmation

0

> Do I understand correctly that you would like to disable Git integration completely? 

The one thing I like is the colors of the files telling me their state, and this (https://youtrack.jetbrains.com/issue/IDEA-140714) if is ever implemented. Otherwise, I manually control my git state on the command line.

> You can configure behavior of IDE toward new files or deleted ones under Preferences | Version Control | Confirmation

Yeah. The only problem is you have to set that on every project, or at least when I changed them, they didn't affect any other projects. I was hoping to find a global setting as this is how I manage every project I work on.

Thank you for your help!

1

Joshua Holland

Thank you for sharing feedback 

>Yeah. The only problem is you have to set that on every project, or at least when I changed them, they didn't affect any other projects. I was hoping to find a global setting as this is how I manage every project I work on.

You can change settings that will be by default for new projects via File  | New Project Settings | Preferences for New projects.
Regrettably, there is no such option for existing ones, there is a feature request for it, please feel free to vote:
https://youtrack.jetbrains.com/issue/IDEA-221422

0

Thanks! This is super helpful. I threw my thumb on that issue and have updated those settings locally.

0

Please sign in to leave a comment.