Skip to content

Instantly share code, notes, and snippets.

@samueleastdev
Created March 28, 2020 20:09
Show Gist options
  • Save samueleastdev/79c7e31ea45f9808936aeff3dd4a1763 to your computer and use it in GitHub Desktop.
Save samueleastdev/79c7e31ea45f9808936aeff3dd4a1763 to your computer and use it in GitHub Desktop.
Remove large files accidentally committed to git
git filter-branch --tree-filter 'rm -rf dist/*' HEAD
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment