Yuval Ezrati
Yuval Ezrati

Reputation: 71

Git server working slowly - cloning and pushing

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?

Upvotes: 2

Views: 614

Answers (1)

VonC
VonC

Reputation: 1324757

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.

Upvotes: 1

Related Questions