What is the difference between “Revert Commit” and “Undo Commit” in IntelliJ IDEA?
Undo the last commit IntelliJ IDEA allows you to undo the last commit in the current branch (for example, HEAD). Note: You cannot undo a commit if it was pushed to a protected branch, that is a branch to which force –push is not allowed (configure protected branches in the Settings/Preferences dialog Ctrl+Alt+S under Version … Read more