On 18/01/14 05:57 AM, Martin Vaeth wrote: > Robin H. Johnson <robb...@gentoo.org> wrote: >> >> FYI: The following repos contained dangling commits/tags/blobs >> [...] you are encouraged to push again [...] >> user/mv.git (+blobs) > > I cannot imagine that the suggested "git push" removed orphaned blobs: > AFAIK it is not possible to execute commands like "git prune", > "git gc --aggressive", or "git repack -a -d" remotely. > Perhaps such things should run as a cron job? > >
From what I know, dangling commits are part of the git workflow if one rewrites history. If you push A -> B -> C, then reset --hard to B, then push, C will be dangling on the remote and will not be cleaned until git gc is automatically run on the remote, controlled by the gc.auto config variable (on by default).
signature.asc
Description: OpenPGP digital signature