]>
Commit | Line | Data |
---|---|---|
215a7ad1 JH |
1 | git-relink(1) |
2 | ============= | |
7fc9d69f JH |
3 | |
4 | NAME | |
5 | ---- | |
215a7ad1 | 6 | git-relink - Hardlink common objects in local repositories. |
7fc9d69f JH |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
215a7ad1 | 10 | 'git-relink' [--safe] <dir> <dir> [<dir>]\* |
7fc9d69f JH |
11 | |
12 | DESCRIPTION | |
13 | ----------- | |
52a22d1e LAS |
14 | This will scan 2 or more object repositories and look for common objects, check |
15 | if they are hardlinked, and replace one with a hardlink to the other if not. | |
7fc9d69f JH |
16 | |
17 | OPTIONS | |
18 | ------- | |
52a22d1e LAS |
19 | --safe:: |
20 | Stops if two objects with the same hash exist but have different sizes. | |
21 | Default is to warn and continue. | |
7fc9d69f | 22 | |
52a22d1e LAS |
23 | <dir>:: |
24 | Directories containing a .git/objects/ subdirectory. | |
7fc9d69f JH |
25 | |
26 | Author | |
27 | ------ | |
28 | Written by Ryan Anderson <ryan@michonline.com> | |
29 | ||
30 | Documentation | |
31 | -------------- | |
32 | Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. | |
33 | ||
34 | GIT | |
35 | --- | |
36 | Part of the link:git.html[git] suite | |
37 |