fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 9 months agothis is a meme about melemmy.dbzer0.comimagemessage-square39linkfedilinkarrow-up1191arrow-down111
arrow-up1180arrow-down1imagethis is a meme about melemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 9 months agomessage-square39linkfedilink
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up13·9 months agoneeds more jpeg. but on a serious note, how do you version control an msoffice/libreoffice document? you can’t just put it in git, the repo will get huge quickly
minus-squareVictoria@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up5·9 months agodocx is just a zip of xml files. if you add some hooks to git, you could make it unzip it, commit the xml files, then when checking out rezip it into a docx automatically.
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up2·9 months agogit hooks! Totally forgot it, that sounds interesting
minus-squareStrawberry@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·9 months agoI think libreoffice has an uncompressed format for version control if I remember correctly
needs more jpeg.
but on a serious note, how do you version control an msoffice/libreoffice document? you can’t just put it in git, the repo will get huge quickly
docx is just a zip of xml files. if you add some hooks to git, you could make it unzip it, commit the xml files, then when checking out rezip it into a docx automatically.
Thanks, I hate it
git hooks! Totally forgot it, that sounds interesting
I think libreoffice has an uncompressed format for version control if I remember correctly