mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
d3c2d9e5ff
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
37 lines
812 B
Text
37 lines
812 B
Text
git-relink(1)
|
|
=============
|
|
|
|
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 <ryan@michonline.com>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[7] suite
|