how to make intellij not to commit if commit contains problems?
已回答
In Community Edition 2022.3.2,if my commit contains problem,intellij will pause the commit.
However,when using Ultimate Edition,intellij will still commit if commit contains problem,even if code analysis has been turned on.
is it possible to make ultimate version show warning like below?

请先登录再写评论。
Hi Hh963369 ,
As discussed here: https://youtrack.jetbrains.com/issue/IDEA-311316/Allow-turning-off-background-precommit-check
You can enable the old check-in behavior by changing this option to use the traditional modal dialog:
File | Settings / Preferences | Version Control | Commit , untick the checkbox Use non-modal commit interface.
Select this option to be able to commit from the Commit tool window ⌘ 0, without displaying the modal Commit Changes dialog.
Please tell us if it helps.