Skip to content

Instantly share code, notes, and snippets.

@fvdm fvdm/
Created Jan 27, 2016

What would you like to do?
export arg=$@
find . -name '.git' -type d -exec bash -c 'path=${1%/.git}; echo $path; cd "$path" && git gc $arg' 0 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.