git-relink - Hardlink common objects in local repositories
git-relink [--safe] <dir> <dir> [<dir>]*
This will scan 2 or more object repositories and look for common objects, check if they are hardlinked, and replace one with a hardlink to the other if not.
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 <ryan@michonline.com>
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
Part of the git(7) suite