fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 10 个月前this is a meme about melemmy.dbzer0.comimagemessage-square31fedilinkarrow-up1176arrow-down111
arrow-up1165arrow-down1imagethis is a meme about melemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 10 个月前message-square31fedilink
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up11·10 个月前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
minus-squareVictoria@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up5·10 个月前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.
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up2·10 个月前git hooks! Totally forgot it, that sounds interesting
minus-squareStrawberry@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·10 个月前I 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