Sha256: 466467e7185e015592ba0b94e135df24dd9de99a0e9252d4ab9e0b09fafe84f2
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
Description -------------- git-gc-cron recursively searches for .git and *.git repos in the directories specified on the command line and runs "git gc" on them. Make sure you only have it search repos you own. Installation ---------------- As user or as root: $ gem install git-gc-cron Put this into the system crontab (for example fcron on Linux): %weekly,nice(10),runas(git) * * git-gc-cron /var/spool/gitosis/repositories %weekly,nice(10),runas(me) * * git-gc-cron /home/me/myprojects /home/me/myotherprojects or into your personal crontab, if you like: %weekly,nice(10) * * git-gc-cron /home/me git-gc-cron takes any number of paths to traverse as argument. To see the progress you can watch the output of ps or top. For each repo it compresses git-gc-cron changes the process name of the subprocess "git gc" to something more useful: (#1/10 /var/spool/gitosis/repositories/myproject.git) git
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git-gc-cron-0.0.2 | README |