diff options
Diffstat (limited to 'Documentation/git-relink.txt')
-rw-r--r-- | Documentation/git-relink.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/git-relink.txt b/Documentation/git-relink.txt new file mode 100644 index 0000000000..3b33c99510 --- /dev/null +++ b/Documentation/git-relink.txt @@ -0,0 +1,30 @@ +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 |