What is a changelist in IntelliJ IDEA? Is it similar to a commit? When adding one, I have the following options:
Add files to VCS Open the Commit tool window Alt+0 . Put any files in the Unversioned Files changelist under version control by pressing Ctrl+Alt+A or selecting Add to VCS from the context menu. You can either add the entire changelist, or select separate files.
Use ⌘0 (macOS) or Alt+0 (Windows/Linux), to show the Commit tool window. Changes in the Commit Tool Window are in the default active changelist. The active changelist is highlighted in bold.
Staged Folder - Unstaging Part of a File You can then use the >> arrows from the staged portion on the left-hand side to Unstage the change. This will unstage that specific change and again, IntelliJ IDEA will run a Git command to reflect the change. You can also type into the editor if you prefer.
IntelliJ IDEA allows you to review all changes made to the project sources that match the specified filters. For distributed version control systems, such as Git and Mercurial, you can view project history in the Log tab of the Version Control tool window Alt+9 (see Investigate changes in Git repository).
Changelists, when used with Git, is a way to split your index (i.e. the files you have added to git) into logical filesets. See Using Git Locally with IntelliJ IDEA
Those changelists can represent whatever you want (a task, a fix, a merge etc), but they are not git commits.
You can commit one or several changelists.
When you add a file to the Git Index, IntelliJ IDEA adds your file to the default changelist, named... "default".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With