git 有没有办法在不关心内容的情况下跟踪二进制文件?跟踪主要是出于历史原因。
如果没有;有没有办法让 git 跟踪所有文件但忽略超过 N 大小的文件内容?
最佳答案
Is there a way in git to track binary files without git caring about the contents?
不适用于原生 git。
您可以查看 git-annex ,这与您想要的非常接近。
git-annex
allows managing files with git, without checking the file contents into git.While that may seem paradoxical, it is useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space.
关于git 跟踪二进制文件但忽略内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23463614/