Git Commit: Deselect all changes by default

Answered

Hi,

At the moment, when I click "Commit Changes", all files and all changes are selected by default. 

I'm used to using SourceTree, picking one change/hunk and committing that change alone, but in IntelliJ I often mistakenly commit changes I didn't intend to commit yet.

Is there any option to have all changes deselected when I click "Commit" ?

 

 

1 comment
Comment actions Permalink

No, there is no way and no plans to do so. See https://youtrack.jetbrains.com/issue/IDEA-178415

Commit dialog preserves selection from the Local Changes. If you want to commit only specific file, you could select it in the Local changes and invoke commit - only the file will be selected.

It is rather easy to deselect all files - Ctrl/Cmd+A -> Space, however there is a request to add specific control - https://youtrack.jetbrains.com/issue/IDEA-131191

0

Please sign in to leave a comment.