Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> As someone who has kept excel files and PDFs in version control

Hot tip for handling office file formats or anything that uses a ZIP container: just unzip them and commit that to the repo. It won't fix the issue mentioned of the authoring tool making seemingly arbitrary and unnecessary changes, nor will it give you nifty visual diffs, but it's better than shuffling binary blobs through your version control tools.



AFAIK that won't save space in git, in fact it will probably use more due to the lack of compression and the fact that git commits aren't diffs, they're just commonly displayed as if they are.


> AFAIK that won't save space in git

Actually, it should (precisely _because_ of Git's approach to storing blobs) but that's besides the point. Saving space had nothing to do with the motivation for the earlier comment.

> in fact it will probably use more

No.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: