Skip to content

Instantly share code, notes, and snippets.

@marinbek
Created January 31, 2019 14:55
Show Gist options
  • Save marinbek/aa10bb00f1682b7e0c2f18bf442ae260 to your computer and use it in GitHub Desktop.
Save marinbek/aa10bb00f1682b7e0c2f18bf442ae260 to your computer and use it in GitHub Desktop.

git verify-pack -v .git/objects/pack/pack-f5ac2e2d5f7e3c247be0ec6eff02d303ab7ddffd.idx | sort -k 3 -n | tail -10 git rev-list --objects --all | grep c58053e7cc22579a2abacc8c85219117b5252718

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch -rf releases' --prune-empty --tag-name-filter cat -- --all

git gc --aggressive --prune=now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment