What is a changelist in IntelliJ IDEA?

GitIntellij Idea

Git Problem Overview


What is a changelist in IntelliJ IDEA? Is it similar to a commit? When adding one, I have the following options:

  • Name (text field)
  • Comment (text field)
  • Make this changelist active (checkbox)
  • Track context (checkbox)

Git Solutions


Solution 1 - Git

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.

default changelist

When you add a file to the Git Index, IntelliJ IDEA adds your file to the default changelist, named... "default".

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiondingalingchickenwiingView Question on Stackoverflow
Solution 1 - GitVonCView Answer on Stackoverflow