aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-relink.txt
blob: ccbda9fba508e252d666db33b679ec745e7e16fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
git-relink(1)
=============

NAME
----
git-relink - Hardlink common objects in local repositories

SYNOPSIS
--------
'git-relink' [--safe] <dir> <dir> [<dir>]\*

DESCRIPTION
-----------
This will scan 2 or more object repositories and look for common objects, check
if they are hardlinked, and replace one with a hardlink to the other if not.

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