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