diff --git a/services/f3/driver/repository.go b/services/f3/driver/repository.go index 34dd29de71..76d992e07d 100644 --- a/services/f3/driver/repository.go +++ b/services/f3/driver/repository.go @@ -74,7 +74,7 @@ func (o *RepositoryProvider) Get(ctx context.Context, user *User, project *Proje Name: exemplar.Name, FetchFunc: func(destination string) { o.g.GetLogger().Debug("RepositoryProvider:Get: git clone %s %s", repoPath, destination) - util.Command(ctx, "git", "clone", "--bare", repoPath, destination) + util.Command(ctx, "git", "clone", "--mirror", repoPath, destination) }, }, }