Linux Command Library
commands
Commands
basic
Basic
tips
Tips

git-relink

Hardlink common objects in local repositories

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

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.

--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.

Part of the git(1) suite

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied