diff --git a/pkg/jobs/mirror.go b/pkg/jobs/mirror.go index 6c7f2e756eb442df58d6bc6797f66d23e5f44197..16ea923418ea49d4a24bf7892257d8a93688e3a6 100644 --- a/pkg/jobs/mirror.go +++ b/pkg/jobs/mirror.go @@ -65,9 +65,8 @@ func (m mirrorPull) Func(ctx context.Context) func() { repo := repo cmds := []string{ - "fetch --prune", // fetch prune before updating remote - "gc --aggressive --prune=now", // aggressive garbage collection - "remote update --prune", // update remote and prune remote refs + "fetch --prune", // fetch prune before updating remote + "remote update --prune", // update remote and prune remote refs } for _, c := range cmds {