If I am commiting code in IntelliJ with Git, I see the following dialog:
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:
What all these things mean and how to get rid of old change list title, still being able to commit code?
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.
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.
IntelliJ Project tab -> rt click there -> select Local History -> Show History. Just select the point in time you want to go and revert.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With