I have a lot of git code repositories, and I usually gc (garbage collect) them
manually by running the
git gc command every now and then. Tasks like these
are prime candidates for automating with cron. Below is a cron entry and the
gcs my repositories. Hope you guys find it useful.
###the crontab entry
Bonus tip: If you have a gitosis server, put the following script at
perform the above step for your git user.
###the gitosis git user script