Is it possible to diff PowerPoint version-controlled with git?
问题 I have some PowerPoint documents that I keep version-controlled with git. I want to know what differences are between versions of a file. Text is most important, images and formatting not so much (at least not at this point). 回答1: I wrote this for use with git on the command-line (requires Python and the python-pptx library): """ Setup -- Add these lines to the following files: --- .gitattributes *.pptx diff=pptx --- .gitconfig (or repo\.git\config or your_user_home\.gitconfig) (change the