I uploaded a patch X on gerrit, but by mistake I included a file Y that I shouldn't have included in the patch. Now, I want to submit a new patchset for X, without the file Y. Is it possible to do that
Steps to remove Y from new Patchset for X
Manually removed all the changes I made in Y  (Not the best way to do that, but it removed Y from new Patchset for X)
git add .
 git commit -s --amned
 repo upload .
 
     
     
     
    