[ome-devel] Git repository housekeeping

Russell Sim russell.sim at monash.edu
Wed Mar 2 03:53:11 GMT 2011


Hi,

So i have just checked out your git repo and it took several hours
because it's quite massive and for some reason the download was capped
at 170kbs. So anyway i though i would run a few of the house keeping
tools on it to try and compress it's size.

First of i checked for any dangling object with git fsck, there aren't
any. Then i ran git gc.

$git-gc --aggressive
...
$du -hs ome/.git ome-new/.git
1.5G	ome/.git
923M	ome-new/.git

so about a 600 meg reduction, keep in mind this doesn't actually delete
anything just compresses stuff.

Anyway it might be worth considering running on you primary git
repository since it should also make the repository faster too.

Cheers,
Russell

-- 
Russell Sim
Senior Software Developer
Monash ARDC-EIF Data Capture and Metadata Store
Building 75, Clayton Campus, Wellington Road, Clayton, Victoria. 3800
Telephone: +613 9902 0795
Facsimile: +613 9905 9888
Email: russell.sim at monash.edu
Web: http://www.monash.edu/eresearch


More information about the ome-devel mailing list