كيفية التراجع بأمان عن تغييراتي في الحاوية

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).

إعجاب واحد (1)

you mean:

cd /var/discourse
./launcher enter app
git reset --hard
git clean -fxd

will do the job?

إعجاب واحد (1)

I think so. I’d recommend rebuilding a new container, though…

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.