Skip to content

Instantly share code, notes, and snippets.

@langolf
Last active June 14, 2020 09:56
Show Gist options
  • Save langolf/a426311db1850636cb65823d217c5416 to your computer and use it in GitHub Desktop.
Save langolf/a426311db1850636cb65823d217c5416 to your computer and use it in GitHub Desktop.
Git maintenance
git fsck --full --unreachable
git repack -A -d
git gc --aggressive --prune=now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment