I have a commit in gerrit with three files in which there are two deleted files, But i don't want to merge those deleted changes. I have tried all sort of things with resetting those files, but as i am just checking out the change from gerrit, It doesn't seems to actually do anything.
This i have found on lot of places:
git add -u
git reset HEAD path/to/file
git commit
but didn't work. Does anyone know a way to accomplish this.