Revert dev environment to master
The information in this post is accurate as of the published date . Please make sure to check any linked documentation within the post for changes/updates.
I would like to simply revert my dev environment to the current production (master) code/data/db.
Without changing the git commits/branches.
I am updating to Drupal 10 - and need to ‘try-again’ - so want my dev environment identical to master and then do a platform push to try the update again.
could I restore a master/production backup to dev?
-
Hi Chris! You should be able to synchronize (code and/or data) from production to your development environment using the CLI command here https://docs.platform.sh/administration/cli/reference.html#environmentsynchronize.
0
Please sign in to leave a comment.
Comments
1 comment