Skip to content

Instantly share code, notes, and snippets.

@valter-jnr
Last active July 6, 2021 13:26
Show Gist options
  • Save valter-jnr/8051837f5219b9f5d83dadffe3e58cfc to your computer and use it in GitHub Desktop.
Save valter-jnr/8051837f5219b9f5d83dadffe3e58cfc to your computer and use it in GitHub Desktop.
git this exceeds file size limit of 100.0 mb
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD
git push
Or You can use the git suggested tool
git filter-repo --invert-paths --path-match target --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment