How to commit only the file in editing by default?
Cmd+K (Commit Action) pops up the Commit view and asks which files to get committed by checkbox.
At IntelliJ IDEA 2017.2, it is checked for only the file in editing.
**But after upgraded to 2021.2, ALL uncommitted files in workspace are checked by default.**
How can I configure IDEA to behave as previous version?
请先登录再写评论。
Kaoru Shirai
This behavior is not configurable, instead of Commit, you can use "Commit file" action.
You can change a shortcut to "Commit file" under Preferences | Keymap
Ctrl+K by design will select all files, there is a request to select files only in an active changelist and we are working on it:
https://youtrack.jetbrains.com/issue/IDEA-215409
@Ruslan Kuleshov
Great! "Commit file" action worked perfectly for me.
Thank you for the response.