I want to delete a specific commit from my repository.
The yellow one in this case
So I entered the following command
and this file opened up
the red one here is 2.9.1 fa7c710 is 2.9.2 and 15e9b64 is 2.9.0
then I proceeded to delete the yellow line and saved and closed the file
then this message popped up in terminal
however as you can see in this picture all it seems to have done is shift my HEAD to 2.9.1 while the yellow commit is still there
What am I doing wrong? I just want the yellow commit to be deleted.
I have also tried the many other things like changing the # Rebase line, changing pick to drop instead of deleting it, changing the number after HEAD~ etc but to no avail. How do I get rid of that commit?