Suppose while viewing yopur changes you determine
that all the changes you made to a particular file are mistakes.
Maybe you shouldn't have changed the file at all, or perhaps it
would be easier to make different changes starting from scratch.
You could edit the file again and unmake all those changes. You
could try to find a copy of how the file looked before you changed
it, and then copy its contents atop your modified version.
There are probably other approaches you could
take.