Git server working slowly - cloning and pushing

Viewed 293

I have a Repository which is 150 mb size total and there are about 100 commits to it.

In the last day commiting and cloning is really slow - It seems that when I clone the repo/push it takes 'cached delta files' and then it can take more than 10 minutes to push or clone. What can be the cause to such slowness?

1 Answers

GitLab itself (the remote side of your clone/push) seems fine.
Beside externalizing large artifacts in LFS, you might consider:

  • upgrading to the latest Git version (2.25.x, soon 2.26)
  • activating git config --global pack.sparse true, as I describe here.

For large repositories, that can help.

Related