Git Commit: Deselect all changes by default



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

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 -


Please sign in to leave a comment.