Skip to content

Instantly share code, notes, and snippets.

@chijikpijik
Created January 24, 2022 16:14
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 chijikpijik/121b1db0cd80252fbf90fd320fd303d3 to your computer and use it in GitHub Desktop.
Save chijikpijik/121b1db0cd80252fbf90fd320fd303d3 to your computer and use it in GitHub Desktop.
git filter-branch --prune-empty -d /dev/shm/scratch \
--index-filter "git rm --cached -f --ignore-unmatch oops.iso" \
--tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment