How to safely revert my changes in the container

If what you want is a container that has the current code, the simplest solution is to rebuild and get a new container.

Another way would be to use git to revert the changes you made. (you can Google how to do that).

1 Like