.gitignore for large files?
- From
Philip Oakley <philipoakley@iee.org>
- Date
- Jul 23, 2011, 20:00 UTC
- Message-ID
- <B27BF8C0758741A68E1631A7308E17C6@PhilipOakley>
Has there been any discussion in the past on a method for ignoring large files via the .gitignore process?
It does appear to be a moderately common problem for folk to accidentally commit a large file which bloats their repository and they want rid of it, which causes history re-writes and such palaver.
Perhaps a simple '>' and '<' option (the latter to cover null or minimal files?) with a --warn postfix may be possible. Just an initial thought.
Where would the 'right place' be for me to look at the git code if it was beneficial.
Philip Oakley (UK: Scotland)