Skip to content

Instantly share code, notes, and snippets.

@skounis
Last active April 5, 2022 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skounis/07285046a6ca7de50743d3288d1f4de8 to your computer and use it in GitHub Desktop.
Save skounis/07285046a6ca7de50743d3288d1f4de8 to your computer and use it in GitHub Desktop.
Remove a file from Git's history
# Download bfg for
# https://rtyley.github.io/bfg-repo-cleaner/
java -jar bfg.jar --delete-files {filename}
git push --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment