1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <sect2 lang="en" id="git-relink(1)">
\r
5 <title>git-relink(1)</title>
\r
7 <primary>git-relink(1)</primary>
\r
9 <simplesect id="git-relink(1)__name">
\r
11 <simpara>git-relink - Hardlink common objects in local repositories</simpara>
\r
13 <simplesect id="git-relink(1)__synopsis">
\r
14 <title>SYNOPSIS</title>
\r
16 <literallayout><emphasis>git relink</emphasis> [--safe] <dir>… <master_dir></literallayout>
\r
19 <simplesect id="git-relink(1)__description">
\r
20 <title>DESCRIPTION</title>
\r
21 <simpara>This will scan 1 or more object repositories and look for objects in common
\r
22 with a master repository. Objects not already hardlinked to the master
\r
23 repository will be replaced with a hardlink to the master repository.</simpara>
\r
25 <simplesect id="git-relink(1)__options">
\r
26 <title>OPTIONS</title>
\r
34 Stops if two objects with the same hash exist but have different sizes.
\r
35 Default is to warn and continue.
\r
45 Directories containing a .git/objects/ subdirectory.
\r
51 <simplesect id="git-relink(1)__git">
\r
53 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r