https://github.com/git/git
Raw File
Tip revision: 3c3d3f629a6176b401ebec455c5dd59ed1b5f910 authored by Junio C Hamano on 16 October 2015, 21:40:04 UTC
Git 2.6.2
Tip revision: 3c3d3f6
git-relink.txt
git-relink(1)
=============

NAME
----
git-relink - Hardlink common objects in local repositories

SYNOPSIS
--------
[verse]
'git relink' [--safe] <dir>... <master_dir>

DESCRIPTION
-----------
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 linkgit:git[1] suite
back to top