1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
\r
4 <article lang="en" id="git-relink(1)">
\r
6 <title>git-relink(1)</title>
\r
8 <primary>git-relink(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-relink - Hardlink common objects in local repositories</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
17 <simpara><emphasis>git relink</emphasis> [--safe] <dir> [<dir>]\* <master_dir></simpara>
\r
19 <simplesect id="_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="_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="_author">
\r
52 <title>Author</title>
\r
53 <simpara>Written by Ryan Anderson <<ulink url="mailto:ryan@michonline.com">ryan@michonline.com</ulink>></simpara>
\r
55 <simplesect id="_documentation">
\r
56 <title>Documentation</title>
\r
57 <simpara>Documentation by Junio C Hamano and the git-list <<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>>.</simpara>
\r
59 <simplesect id="_git">
\r
61 <simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
\r