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
script which gc
s my repositories. Hope you guys find it useful.
###the script
1 |
|
###the crontab entry
1 |
|
Bonus tip: If you have a gitosis server, put the following script at ~git/.cron/reboot.sh
and
perform the above step for your git user.
###the gitosis git user script
1 |
|
I am currently working on LiveForm which makes
setting up contact forms on your website a breeze.