Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Overview ===== How to share objects with other local repositories -- see [[https://git.wiki.kernel.org/index.php/Git_FAQ#How_to_share_objects_between_existing_repositories.3F|here]]. ===== Commands ===== Share: <code> $ echo "/source/git/project/.git/objects" > .git/objects/info/alternates $ git repack -a -d -l </code> Unshare (omit ''-l''): <code> $ git repack -a $ rm .git/objects/info/alternates </code> git_sharing_objects.txt Last modified: 2019/03/15 07:56by rpjday