Git garbage collect all your dev tree
In the interests of house keeping (and saving a few bytes of diskspace), cobbled this shell script together to crawl over your development directory, hunt out all your Git repositories and garbage collect them.
See here:
https://gist.github.com/4064851
Or something like:
$ wget https://raw.github.com/gist/4064851/19b73c66c885fd0c400b62832c0619a071b7e592/gitgarbagecollectall.sh
$ chmod u+x gitgarbagecollectall.sh
$ ./gitgarbagecollectall.sh /your/development/root
Written by Peter Mescalchin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#