git_sharing_objects

How to share objects with other local repositories – see here.

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.txt
  • Last modified: 2019/03/15 07:56
  • by rpjday