blob: 3b33c995103060e97977e2977d8114389a29ae3c [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--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040010[verse]
Štěpán Němec0adda932010-10-08 19:31:17 +020011'git relink' [--safe] <dir>... <master_dir>
Junio C Hamano7fc9d692005-08-23 01:49:47 -070012
13DESCRIPTION
14-----------
Brandon Caseyd3c2d9e2008-01-11 12:14:19 -060015This 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.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070018
19OPTIONS
20-------
A Large Angry SCM52a22d12005-08-26 18:18:48 -070021--safe::
22 Stops if two objects with the same hash exist but have different sizes.
23 Default is to warn and continue.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070024
A Large Angry SCM52a22d12005-08-26 18:18:48 -070025<dir>::
26 Directories containing a .git/objects/ subdirectory.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070027
Junio C Hamano7fc9d692005-08-23 01:49:47 -070028GIT
29---
Christian Couder9e1f0a82008-06-06 09:07:32 +020030Part of the linkgit:git[1] suite