0

I fairly regularly attempt to add/commit a file above 100Mb accidentally, then scramble to try and remember how to backtrack these errors. Is there any way to place a safeguard that just has the effect of skipping git add for files that are too large?

Austin
  • 6,921
  • 12
  • 73
  • 138

1 Answers1

0

You can typically gitignore only filenames, file patterns or folders - ignoring based on file sizes is not an available function afaik

SPR
  • 85
  • 4