Git or Subversion for binary files

后端 未结 4 678
有刺的猬
有刺的猬 2020-12-04 22:30

We need to store binary files (mostly MS Word documents, ranging from a couple of KB to a couple of MB in size) in a version control repository with over 100 \"projects\". C

4条回答
  •  眼角桃花
    2020-12-04 23:00

    • Subversion attempts to automatically detect binary files (see SVN FAQ). If this fails, you have to designate them yourself (you also can't change SVN's detection method).

    • Git does the same, and you can specify which files to automatically treat as binaries by including a .gitattributes file in your source repository.

    • Here is a comparison of Git and SVN's binary file handling.

    • Here is what some other Stack Overflow members have been doing with Git and binary files.

    Hope this helps!

提交回复
热议问题