To fix a problem, I had to do some manual changes in code inside the discourse container. Now how can I safely revert back all the changes?
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).
cd /var/discourse ./launcher enter app git reset --hard git clean -fxd
will do the job?
I think so. I’d recommend rebuilding a new container, though…
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.