Skip to content

Instantly share code, notes, and snippets.

@sandys
Created April 28, 2020 14:13
Show Gist options
  • Save sandys/46dea04fce5fff8f7c17e4ccecfecbac to your computer and use it in GitHub Desktop.
Save sandys/46dea04fce5fff8f7c17e4ccecfecbac to your computer and use it in GitHub Desktop.
how to clean your git repo of all blobs greater than 100M (github friendly)
  1. Download git-filter-repo script
  2. name the file as clean.py
  3. run python /tmp/clean.py --force --strip-blobs-bigger-than 100M --refs <branch name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment