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