How does Git deal with binary files?

后端 未结 4 1963
既然无缘
既然无缘 2020-12-24 11:17
  • Do I have to do something to tell Git whether some files are binary (like in Subversion)? Or, can Git handle binary data automatically?
  • If I change the binary
4条回答
  •  盖世英雄少女心
    2020-12-24 12:03

    1. Git can usually detect binary files automatically.
    2. No, Git will attempt to store delta-based changesets if it's less expensive to (not always the case).
    3. Submodules are used if you want to reference other Git repositories within your project.

提交回复
热议问题