git-relink - Hardlink common objects in local repositories
git-relink [--safe] <dir> [<dir>]\* <master_dir>
This will scan 1 or more object repositories and look for objects in common with a master repository. Objects not already hardlinked to the master repository will be replaced with a hardlink to the master repository.
Stops if two objects with the same hash exist but have different sizes. Default is to warn and continue.
Directories containing a .git/objects/ subdirectory.
Written by Ryan Anderson <firstname.lastname@example.org>
Documentation by Junio C Hamano and the git-list <email@example.com>.
Part of the linkgit:git suite