Hello,
I'm creating a repository for a wordpress site.But the problem is that wordpress saves all plugin settings / pages / posts / etc. into the database.
So, we need to create a 'repository' or 'version control' system in order to make all the changes in the staging or devs enviroment and when pushed to live, it doesn't overwrite the whole database, because there will be things like subscribers/orders/new posts that will be lost if we replace the live site database for the staging one.
Is there a guide, or a way to do this? I've tried to search, but the information for this is quite limited.
thanks