87

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)
gvlasov
  • 18,638
  • 21
  • 74
  • 110
dingalingchickenwiing
  • 1,937
  • 3
  • 20
  • 30
  • 1
    https://stackoverflow.com/questions/21462378/what-is-a-changelist-in-intellj-idea-a-list-of-changes-compared-to-what-an-ac gives some additional information. – kc2001 Mar 18 '19 at 18:39
  • https://www.jetbrains.com/help/idea/managing-changelists.html – Vadzim Apr 21 '21 at 23:23

1 Answers1

75

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".

gvlasov
  • 18,638
  • 21
  • 74
  • 110
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 10
    Could you suggest any Git GUI have **changelists** function like IntelliJ IDEA ? – glider Aug 25 '15 at 08:40
  • 1
    Here is another source about [Managing Changelists](https://www.jetbrains.com/help/idea/managing-changelists.html) – Chilly Code Apr 15 '18 at 09:28
  • 2
    So is it IDEA feature only? Can I manage change lists in a terminal, for example? – Enbugger Sep 20 '19 at 02:16
  • @xotonic I am not aware of a CLI command able to manipulate IntelliJ IDEA change list (https://www.jetbrains.com/help/idea/managing-changelists.html). – VonC Sep 20 '19 at 04:52