git-relink(1)

git-relink1

Hardlink common objects in local repositories

Usage

git relink [--safe] <dir> ... <master_dir>

Overview

This will scan 1 or more object repositories and look for objects in common with a master repository. Objects not already hardlinked to the master repository will be replaced with a hardlink to the master repository.

Options

--safe

Stops if two objects with the same hash exist but have different sizes. Default is to warn and continue.

<dir>

Directories containing a .git/objects/ subdirectory.

Git

Part of the git(1) suite

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From git-man 1:2.11.0-3+deb9u7 in Debian 9 (Stretch). Parsed by carta from the page's man source.