blob: 25ff8f9dcbe0db52675338f1429e9169052b9cf1 [file] [log] [blame]
Junio C Hamano215a7ad2005-09-07 17:26:23 -07001git-relink(1)
2=============
Junio C Hamano7fc9d692005-08-23 01:49:47 -07003
4NAME
5----
Fredrik Kuivinen7bd7f282006-03-09 17:24:50 +01006git-relink - Hardlink common objects in local repositories
Junio C Hamano7fc9d692005-08-23 01:49:47 -07007
8SYNOPSIS
9--------
Jonathan Niederb1889c32008-06-30 01:09:04 -050010'git relink' [--safe] <dir> [<dir>]\* <master_dir>
Junio C Hamano7fc9d692005-08-23 01:49:47 -070011
12DESCRIPTION
13-----------
Brandon Caseyd3c2d9e2008-01-11 12:14:19 -060014This will scan 1 or more object repositories and look for objects in common
15with a master repository. Objects not already hardlinked to the master
16repository will be replaced with a hardlink to the master repository.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070017
18OPTIONS
19-------
A Large Angry SCM52a22d12005-08-26 18:18:48 -070020--safe::
21 Stops if two objects with the same hash exist but have different sizes.
22 Default is to warn and continue.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070023
A Large Angry SCM52a22d12005-08-26 18:18:48 -070024<dir>::
25 Directories containing a .git/objects/ subdirectory.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070026
27Author
28------
29Written by Ryan Anderson <ryan@michonline.com>
30
31Documentation
32--------------
33Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
34
35GIT
36---
Christian Couder9e1f0a82008-06-06 09:07:32 +020037Part of the linkgit:git[1] suite