I realized that in a old commit I made some modifications to a file that I partially regret and I don't want anyone to see.
The changes for that file in this commit are not all bad, so I need to keep the good ones and this prevents me from simply removing the commit entirely.
My goal is to remove the bad lines completely from history without affecting the good ones. How can this be accomplished? Thanks