2005-09-08 04:26:23 +04:00
|
|
|
git-relink(1)
|
|
|
|
=============
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-09 19:24:50 +03:00
|
|
|
git-relink - Hardlink common objects in local repositories
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2008-06-30 10:09:04 +04:00
|
|
|
'git relink' [--safe] <dir> [<dir>]\* <master_dir>
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2008-01-11 21:14:19 +03:00
|
|
|
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.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-27 05:18:48 +04:00
|
|
|
--safe::
|
|
|
|
Stops if two objects with the same hash exist but have different sizes.
|
|
|
|
Default is to warn and continue.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2005-08-27 05:18:48 +04:00
|
|
|
<dir>::
|
|
|
|
Directories containing a .git/objects/ subdirectory.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Ryan Anderson <ryan@michonline.com>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|