How can I merge a mysql workbench (* .mwb) diagram with git If I know how to make it a text representation?
First of all, I am using git and mysql workbench.
I found that the mysql workbench diagram (* .mwb file) is just a .zip archive containing an XML file describing all the tables. The diagram itself is a binary file.
I wrote a simple script that extracts this xml and makes an oppisite action. I know how to tell git that I want to use this script to show the difference between the two versions of the diagram.
But how can I tell git to do the merge based on the following script?
- Take both versions
- Merge it xml using script
- Create a new diagram with my script that will override the old versions.
+3
source to share
No one has answered this question yet
Check out similar questions: