Open infinity0 opened 7 years ago
git-hg stores the same objects under both .git/objects and .git/hgremote/objects, wasting space by 2x. A workaround is to share objects:
.git/objects
.git/hgremote/objects
$ du -sh 2.1G . $ echo ../hgremote/objects/ >> .git/objects/info/alternates $ git repack -a -d -l $ git gc --prune=all $ du -sh 1.1G .
git-hg stores the same objects under both
.git/objects
and.git/hgremote/objects
, wasting space by 2x. A workaround is to share objects: