Skip to content

Instantly share code, notes, and snippets.

@francois-blanchard
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save francois-blanchard/fcc69d56ab6e34fc016e to your computer and use it in GitHub Desktop.

Select an option

Save francois-blanchard/fcc69d56ab6e34fc016e to your computer and use it in GitHub Desktop.
Github error : Large files detected.
# Github error : Large files detected.
$ git push origin mon_repo
#=> Counting objects: 283, done.
# Delta compression using up to 8 threads.
# Compressing objects: 100% (125/125), done.
# Writing objects: 100% (183/183), 32.68 MiB | 79.00 KiB/s, done.
# Total 183 (delta 97), reused 109 (delta 55)
# remote: error: GH001: Large files detected.
# remote: error: Trace: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# remote: error: See http://git.io/iEPt8g for more information.
# remote: error: File FILENAME is 163.87 MB; this exceeds GitHub's file size limit of 100 MB
# ...
$ git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch FILENAME'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment