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