Interactive Rebase

Using interactive rebase in IntelliJ IDEA

Interactive rebase will help you to take control of your project history meaning you can make it more meaningful where required or clean up commits by reording, skipping or squashing them.