I have written a pull-to-refresh feature and committed to Github already. That feature with 1.3.0 and already released in a new product version. Now I fireguard out some code I have modified of this feature is not well optimized, so I want to undo it now. I am about to release 1.4.0 now, so there are nearly hundreds of commits after that commits.
After googling I find some answers about reverting previous commit. But my problem is how to revert the almost hundreds times previous commits.
I tried to compared the differences by diff tool via git plugin of Eclipse, but found without any result because I move the original file to another package.
I feel really confused about that, do I have to undo it line by line?
EDIT What I want to do is more like merging the long time ago commit to the latest commit. Because I added new features to my latest commit and I don`t mean to lose them, meanwhile, I want to revert back some feature as well.
Thanks for your help!