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
git git-merge xml mysql-workbench


source to share


No one has answered this question yet

Check out similar questions:

4732
How do I make Git "forget" about a file that was tracked but is now in .gitignore?
4541
How to resolve merge conflicts in Git
3969
How do I add an empty directory to a Git repository?
3656
How to determine the url from which the local Git repository is cloned?
2346
I ran into a merge conflict. How can I abort the merge?
2307
How do I make Git use the editor of its choice for commits?
2159
How do I change Git to ignore file mode (chmod)?
1278
How can I selectively merge or fetch changes from another branch in Git?
1059
How do I use git merge --squash?
1041
How can I merge two commits into one if I have already started a rebase?



All Articles
Loading...
X
Show
Funny
Dev
Pics