Skip to content

Instantly share code, notes, and snippets.

@hockeybuggy
Created September 23, 2015 16:10
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 hockeybuggy/c618d2404048b82e7eb3 to your computer and use it in GitHub Desktop.
Save hockeybuggy/c618d2404048b82e7eb3 to your computer and use it in GitHub Desktop.
git gc is 'magic'
➤ time git status
# On branch VA-3094-delete-facebook-app
nothing to commit (working directory clean)
git status 0.01s user 0.34s system 10% cpu 3.319 total
➤ git gc
Counting objects: 69991, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (22537/22537), done.
Writing objects: 100% (69991/69991), done.
Total 69991 (delta 48033), reused 65571 (delta 44552)
Removing duplicate objects: 100% (256/256), done.
➤ time git status
# On branch VA-3094-delete-facebook-app
nothing to commit (working directory clean)
git status 0.00s user 0.16s system 9% cpu 1.733 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment