GIT\-RELINK

Section: Git Manual (1)
Updated: 10/30/2009
Index Return to Main Contents
 

NAME

git-relink - Hardlink common objects in local repositories  

SYNOPSIS

git relink [--safe] <dir> [<dir>]\* <master_dir>  

DESCRIPTION

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.  

OPTIONS

--safe

Stops if two objects with the same hash exist but have different sizes. Default is to warn and continue.

<dir>

Directories containing a .git/objects/ subdirectory.
 

AUTHOR

Written by Ryan Anderson <m[blue]ryan@michonline.comm[][1]>  

DOCUMENTATION

Documentation by Junio C Hamano and the git-list <m[blue]git@vger.kernel.orgm[][2]>.  

GIT

Part of the git(1) suite  

NOTES

1.
ryan@michonline.com
mailto:ryan@michonline.com
2.
git@vger.kernel.org
mailto:git@vger.kernel.org