Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is changelist in Git/IntelliJ and how to get rid of it?

If I am commiting code in IntelliJ with Git, I see the following dialog:

enter image description here

As you see, it has Change list set to "Recovering from unsuccessfull...". This is my title, created long time ago and I don't know how to use it.

So, I would like to remove this title from the dialog.

But if I change it to "Default", then I get empty window:

enter image description here

What all these things mean and how to get rid of old change list title, still being able to commit code?

like image 579
Dims Avatar asked May 24 '16 19:05

Dims


People also ask

What is a changelist IntelliJ?

A changelist is a set of local changes that have not yet been committed to a VCS repository. With changelists, you can group changes related to different tasks and commit these sets of changes independently.

How do I undo a pull request in IntelliJ?

Revert selected changes In the Changed Files pane, right-click the file that you want to revert and select Revert Selected Changes from the context menu. This results in a new commit that reverses the changes you want to undo.

How do I undo a rollback in IntelliJ?

IntelliJ Project tab -> rt click there -> select Local History -> Show History. Just select the point in time you want to go and revert.

How do I Unstash changes in IntelliJ?

From the main menu, choose Git | Uncommitted Changes | Unstash Changes. Select the Git root where you want to apply a stash, and make sure that the correct branch is checked out. Select the stash you want to apply from the list. If you want to check which files are affected in the selected stash, click View.


1 Answers

What all these things mean and how to get rid of old change list title, still being able to commit code?

First off, you should move your changes from the old changelist to the default one. In order to do that, go to View | Tool Windows | Version Control or press Alt + 9 in windows:

Version Control Panel
Then select the old changelist title and drag it to the default one or use Move to Another Changelist button. After you moved changes to the default changelist, just right click on the old one and select Delete option.

What is changelist in Git/IntelliJ and how to get rid of it?

Checkout the IntelliJ's documentation on Changelist and Managing Changelist.

like image 176
Ali Dehghani Avatar answered Sep 20 '22 14:09

Ali Dehghani