]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-relink.txt
Merge branch 'cb/httpd-test-fix-port'
[thirdparty/git.git] / Documentation / git-relink.txt
CommitLineData
215a7ad1
JH
1git-relink(1)
2=============
7fc9d69f
JH
3
4NAME
5----
7bd7f280 6git-relink - Hardlink common objects in local repositories
7fc9d69f
JH
7
8SYNOPSIS
9--------
7791a1d9 10[verse]
0adda936 11'git relink' [--safe] <dir>... <master_dir>
7fc9d69f
JH
12
13DESCRIPTION
14-----------
d3c2d9e5
BC
15This will scan 1 or more object repositories and look for objects in common
16with a master repository. Objects not already hardlinked to the master
17repository will be replaced with a hardlink to the master repository.
7fc9d69f
JH
18
19OPTIONS
20-------
52a22d1e
LAS
21--safe::
22 Stops if two objects with the same hash exist but have different sizes.
23 Default is to warn and continue.
7fc9d69f 24
52a22d1e
LAS
25<dir>::
26 Directories containing a .git/objects/ subdirectory.
7fc9d69f 27
7fc9d69f
JH
28GIT
29---
9e1f0a85 30Part of the linkgit:git[1] suite