----- Original Message ----- > From: "Matthieu Moy" <Matthieu.Moy@xxxxxxxxxxxxxxx> > To: "Andrew Martin" <amartin@xxxxxxxxxxx> > Cc: git@xxxxxxxxxxxxxxx > Sent: Tuesday, February 2, 2016 10:09:31 AM > Subject: Re: git object-count differs between clones > > Andrew Martin <amartin@xxxxxxxxxxx> writes: > > > I ran "git fsck" on both, which reported no problems. Moreover, I ran "git > > gc" > > and made sure there were no objects pending garbage collection, > > It's not sufficient: you may have objects reachable from your reflog, > hence not candidate for garbage collection. Since the reflog is not > propagated, pushing + cloning will not transfer these objects if the > reflog is the only way to reach them. > > You may try expiring your reflog and "git gc" again. > Matthieu, Thanks, I found some commits that are not referenced in any branch. How can I remove these from the reflog? I tried running "git reflog expire --expire=now --expire-unreachable=now --all" followed by "git gc" but still the same number of objects remain. Thanks, Andrew -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html