Commit Changes

Commit your changes to VCS as you go.

Use ⌘0 (macOS) / Alt+0 (Windows/Linux) to display the Commit tool window. Select the changes you want to commit. From here you can either click Commit to commit your changes locally, or Commit and Push to commit your changes and push them to the remote repository.

Alternatively, you can use ⌘K (macOS) / Ctrl+K (Windows/Linux) to open the Commit tool window with your changes already selected, or ⌘⌥K (macOS) / Ctrl+Shift+K (Windows/Linux) to commit and push your changes.

Interested in JVM Development?

call to action image

You can add some checks to ensure that your commit meets your standards, and more importantly, doesn't break anything!

Learn More


Related Resources

Navigating a Long Class
Navigating a Long Class
There are various tips and tricks you can use to navigate a long class in IntelliJ IDEA.
Enable Git Staging
Enable Git Staging
Git Staging is an alternative approach to IntelliJ IDEA Changelists.
Presentation Assistant
Presentation Assistant
Use Presentation Assistant to display shortcuts being used.