当前位置: 代码迷 >> 综合 >> gitignore by file size?
  详细解决方案

gitignore by file size?

热度:34   发布时间:2024-01-11 14:07:39.0

I'm new to .gitignore, so there may be better ways to do this, but I've been excluding files by file size using:

find . -size +1G | cat >> .gitignore

Obviously you'll have to run this code frequently if you're generating a lot of large files.

  相关解决方案