Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a changelist in IntelliJ IDEA?

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)
like image 962
dingalingchickenwiing Avatar asked Jun 17 '12 03:06

dingalingchickenwiing


People also ask

How do I add files to IntelliJ changelist?

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.

How do I view change list in IntelliJ?

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.

How do I Unstage files in IntelliJ?

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.

How do I know if IntelliJ is staged changes?

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


1 Answers

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

like image 188
VonC Avatar answered Sep 28 '22 07:09

VonC