A changelist is a set of local changes that have not yet been committed to the VCS repository.
All changes made to your project files are automatically placed in the active changelist (normally, it's the Default changelist, but you can make any other changelist the active changelist).
Create a new changelist
- In the Local Changes tab of the Version Control tool window, click or press press Alt+Insert.
- In the New Changelist dialog, specify the name of the new changelist, and an optional description.
Set the active changelist
- Select a changelist in the Local Changes tab of the Version Control tool window.
- From the context menu choose Set Active Changelist. All modified files will be automatically placed in this changelist.
Move files between changelists
- In the Local Changes tab of the Version Control tool window, select the files that you want to move to another changelist.
- Click on the toolbar, or press F6.
- In the dialog that opens, select an existing changelist or enter the name for a new changelist.
- You can choose to make this changelist the active one, and to track context for it (DataGrip will save the context associated with this changelist, and will restore it when this changelist becomes active).