What is a changelist in IntelliJ IDEA?

前端 未结 1 739
南旧
南旧 2021-02-01 00:03

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)
1条回答
  •  醉梦人生
    2021-02-01 01:06

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

    0 讨论(0)
提交回复
热议问题