DEV Community

Discussion on: How to speed up GIT PUSH

Collapse
 
baddate profile image
SMJ

It contents some pdf files(100MB)
I didn't use --verbose option yet.
By the way, is the speed related to the size of repo?

Collapse
 
sebbdk profile image
Sebastian Vargr • Edited

Speed is not related to the size of the repo, but it is a good indicator of whether or not it contains binaries. :)

Git is not really made for binaries, so i am not surprised about the slow speeds you get.

I believe Github even have a 1-2gb size limit on repositories.
For binaries it is common to use something like: git-lfs.github.com/

Have you done a speed-check on your connection?

In my experience, ISP's often sell the connections as "up to mb/s" but the reality is often a lot less.

Thread Thread
 
baddate profile image
SMJ

Thanks a lot. I'll try the LFS