User Tools

Site Tools


git_sharing_objects

This is an old revision of the document!


Overview

How to share objects with other local repositories – more can be added here.

Commands

Share:

$ echo "/source/git/project/.git/objects" > .git/objects/info/alternates
$ git repack -a -d -l

Unshare (omit -l):

$ git repack -a
$ rm .git/objects/info/alternates
git_sharing_objects.1550919434.txt.gz · Last modified: 2019/02/23 10:57 by rpjday