User Tools

Site Tools


git_sharing_objects

This is an old revision of the document!


Overview

How to share objects with other local repositories.

Commands

Share:

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

Unshare:

$ git repack -a
$ rm .git/objects/info/alternates
git_sharing_objects.1550864780.txt.gz · Last modified: 2019/02/22 19:46 by rpjday