Answer the question
In order to leave comments, you need to log in
How to track .docx files in git on Bitbucket?
Good afternoon. I would like to know if it is possible to somehow track .docx files in git on Bitbucket?
In git itself, I see commit diffs. But on Bitbucket, nothing is displayed in the commit history, only "Binary file added.".
Can this be fixed somehow?
Thank you.
Answer the question
In order to leave comments, you need to log in
Git does not track changes to binary files, and docx, like odt, is a zip archive.
I have a similar problem now and today I dug up about the flat xml format. This is a document in the same format as odt, but in one file and uncompressed. Libreoffis eats with pleasure. His git will track, but, of course, in a raw format - it will not be very convenient to watch diffs. And small-soft ones do not support this.
Locally, you can use the utilities:
https://github.com/costerwi/rezip
https://github.com/costerwi/zipdoc
https://www.mercurial-scm.org/wiki/ZipdocExtension
Encode/decode filter for version controlling zipped document formats like docx or odt as uncompressed zip archives.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question