Skip to content

Instantly share code, notes, and snippets.

@jl
Created January 25, 2014 19:20
Show Gist options
  • Save jl/8621966 to your computer and use it in GitHub Desktop.
Save jl/8621966 to your computer and use it in GitHub Desktop.
git gc all git repositories under current directory
find . -type d -name .git -print -execdir git gc \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment