Skip to content

Instantly share code, notes, and snippets.

@Mr-Kumar-Abhishek
Created October 18, 2019 14:35
Show Gist options
  • Save Mr-Kumar-Abhishek/7819d5dfe815c105699ca6f8173f4a60 to your computer and use it in GitHub Desktop.
Save Mr-Kumar-Abhishek/7819d5dfe815c105699ca6f8173f4a60 to your computer and use it in GitHub Desktop.
remove binaries from git history
git filter-branch --index-filter 'git rm --cached --ignore-unmatch ./path/to/resource/*.ext' --tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment