什么是 IntelliJ IDEA 中的变更列表?

什么是 IntelliJ IDEA 中的变更列表?是否类似于提交?当添加一个时,我有以下选项:

  • 名称(文本字段)
  • 注释(文本字段)
  • 使此变更列表处于活动状态(复选框)
  • 跟踪上下文(复选框)
27908 次浏览

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