Is there a way in which I can make git not include files which exceed its 100MB file size-limit while adding them to commit?
eg. If I have a folder with a large file (say 2GB) and a few other small code snippets, is there a way in which I can only include the small snippets using 'git add .' and simply ignore large file?
EDIT-1 : Thanks to the comments on this question, I see the task can be accomplished using hooks on either the client or the server side to update the .gitignore file. However, I would like to know if there are simpler (like setting some flags, or an in-built setting) ways of doing this?