Gonéri's blog Light modeDark mode


git gc --prune on a complete directory structure

To run "git gc --prune" on a structure of subdirectories of git repositories, like for example a /git directory on a server:

find /git -type d -execdir sh -c '[ -f "description" ] && sudo git gc --prune' \;`