summaryrefslogtreecommitdiff
path: root/Documentation/git-relink.txt
blob: 98933764870fa73d693c636e713fd1f08eb8244d (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
git-relink(1)
=============
 
NAME
----
git-relink - Hardlink common objects in local repositories
 
SYNOPSIS
--------
'git relink' [--safe] <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.
 
GIT
---
Part of the linkgit:git[1] suite