Skip to content

Instantly share code, notes, and snippets.

@devzom
Created July 28, 2022 10:42
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 devzom/47e93d2c7b3d91b214fff268013fda96 to your computer and use it in GitHub Desktop.
Save devzom/47e93d2c7b3d91b214fff268013fda96 to your computer and use it in GitHub Desktop.
git: Remove specific file from whole git history
git rm --cached --ignore-unmatch filePath --prune-empty --tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment