2005-09-08 08:26:23 +08:00
|
|
|
git-relink(1)
|
|
|
|
=============
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-10 00:24:50 +08:00
|
|
|
git-relink - Hardlink common objects in local repositories
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 10:38:26 +08:00
|
|
|
[verse]
|
2010-10-09 01:31:17 +08:00
|
|
|
'git relink' [--safe] <dir>... <master_dir>
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2008-01-12 02:14:19 +08: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 16:49:47 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-27 09:18:48 +08:00
|
|
|
--safe::
|
|
|
|
Stops if two objects with the same hash exist but have different sizes.
|
|
|
|
Default is to warn and continue.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
2005-08-27 09:18:48 +08:00
|
|
|
<dir>::
|
|
|
|
Directories containing a .git/objects/ subdirectory.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|