I made a change in a script and committed it. Then I made a few other changes, and pushed them to a remote repository and such.
Then I realised that first change I m
Have a look at this git revert question. There seems to be a issue reverting older commits if not in a consecutive sequence including the most recent commit.