Git rollback: Exclude changelists

Answered

When I click on Git->Rollback, Intellij displays all my changelists marked for rollback. When I want to rollback only one of them I got to disselect the others. Now, the problem is that I have my main active change list where all my work to be pushed goes to. And I have a local change list, where I store local changes not to be pushed, my custom settings. I don't want the local change list to be marked for rollback by default. Sometimes you just want to revert something and forget to uncheck it, and then it happens :-)

 

Is it possible to set up a changelist not to be marked for rollback by default?

My Intellij Version is

IntelliJ IDEA 2020.2.3 (Ultimate Edition)
Build #IU-202.7660.26, built on October 6, 2020

0
4 comments

Hello @...
Rollback works for highlighted changelists.
If you choose multiple changelists and then click "Rollback" you will those highlighted changelists in dialog.

In order to rollback only one changelist - please choose one and click "Rollback"

Please let us know if there is misunderstanding from our side 

0
Avatar
Permanently deleted user

Hi. It's not about me highlighting some changelists. I do not select anything I just do Git->Rollback and all changelists are selected. So I have to uncheck the changelists I do not want to rollback. That's what is quite annoying because if I forget to do so, some changes are lost.

0

Rollback dialog depends on focus:
If the focus is in a tool window then according to selection (files or the whole changelists) rollback will be done.
If Focus outside tool window then rollback will affect the default changelist. 

In order to prevent any misunderstanding and to meet your expectations, it would help us if you can provide us with additional screenshots of an issue or exact steps to reproduce.

1
Avatar
Permanently deleted user

OK, that one solved my problem :-) Thanks.

0

Please sign in to leave a comment.