Skip to content

Instantly share code, notes, and snippets.

@gatoravi
Created July 16, 2017 20:22
Show Gist options
  • Save gatoravi/9315219a1f9a3bf202ab9adb36e30d90 to your computer and use it in GitHub Desktop.
Save gatoravi/9315219a1f9a3bf202ab9adb36e30d90 to your computer and use it in GitHub Desktop.

Revisions

  1. gatoravi created this gist Jul 16, 2017.
    5 changes: 5 additions & 0 deletions git-file-limit.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    The default soft (warning) and hard (error) size limits are set to 500,000 and 10,000,000 bytes but can be overriden through the hooks.filesizesoftlimit and hooks.filesizehardlimit settings respectively:
    ```
    $ git config hooks.filesizesoftlimit 100000
    $ git config hooks.filesizehardlimit 4000000
    ```