Skip to content

Instantly share code, notes, and snippets.

@geyang
Created October 22, 2023 19:20
Show Gist options
  • Save geyang/a688a51a2ce37ad87aed377e6a33c350 to your computer and use it in GitHub Desktop.
Save geyang/a688a51a2ce37ad87aed377e6a33c350 to your computer and use it in GitHub Desktop.
remove files from git
bfg -D armadillo_lowres.obj --no-blob-protection
bfg -D armadillo_midres.obj --no-blob-protection
bfg -D bunny2.obj --no-blob-protection
bfg -D dragon.obj --no-blob-protection
bfg -D dragon_og.obj --no-blob-protection
bfg -D sphere.obj --no-blob-protection
bfg -D diamond.glb --no-blob-protection
bfg -D dragon.glb --no-blob-protection
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push origin main -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment