This is an old revision of the document!


How to share objects with other local repositories – more can be added 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.1550919434.txt.gz
  • Last modified: 2019/02/23 10:57
  • by rpjday