Warning: Git newbie
I know the basic git commit and pull, push and currently using source tree for github. Right now I am working on a project where i forked a repo. and accidentally optimized over 300+ images. Good thing is I separated all the images in one commit. The client requested a pull request which I have done. He also said that I should not have optimized these images and to delete this commit from the pull request.
The commit with the images has been pushed many commits ago so it is hard to wrap my head around this. What I thought would work is if i reset the repo back to this commit and delete the images and push again. but by deleting the images, i reset the images so they would be back to what they originally were and when i pushed the changes, it doesn't show anything was changed with the images with the new commit.
Not sure if I am making myself clear. What is the best way to go about this?