Created
November 25, 2014 17:33
-
-
Save chewett/bc5030946ff6cf45ea88 to your computer and use it in GitHub Desktop.
Run git gc on all repos under current directory WARNING MAKES A FILE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find `pwd` -name .git | xargs -i echo "cd {}/../; git gc" > run_me_if_you_dare.sh; sh < run_me_if_you_dare.sh; rm run_me_if_you_dare.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment