Group changes into changelists
A changelist is a set of local changes that have not yet been committed to a Git repository.
With changelists, you can group changes related to different tasks and commit these sets of changes independently. For more information, refer to Commit changes locally.
Changelists are displayed in the Commit window of the Commit tool window Alt+0. Initially, there is a single default changelist called Changes. All new changes are automatically placed in the Changes changelist. There is also an Unversioned Files changelist that groups newly created files that haven't been added to Git yet.
Create a new changelist
In the Changes view, right-click a file to open the context menu and select
New Changelist.
In the New Changelist dialog, specify the name of the new changelist and add a description (optional).
Set the active changelist
In the Changes view, select a non-active changelist and press Ctrl+Space or right-click it and choose Set Active Changelist from the context menu. All new changes will be automatically placed in this changelist.
Delete a changelist
Right-click a changelist and choose Delete Changelist from the context menu.