Delete/republish content i branch

I’m having an issue with duplicate content in the master branch in a project and want to republish all content from DRAFT to MASTER.

Is there a command to delete all content in the MASTER branch before republishing from DRAFT ?

That sounds like the un-publish functionality that is planned but probably sadly wont make it for the 6.0 release.

You could test dumping all data with the ‘dump’ command, delete all files under cms_repo/master/content in the dump-structure, delete repo/* and load the data again. You could also do the same with a normal export, but make sure that you also does export/import of the system-repo:master

OK, Thanks I’ll try that