Way to throttle git while it’s cloning a repo

bandwidthgitnetworking

Is there a way to tell git to only use so much bandwidth while cloning a repo?

I may have multiple applications – each of which demands different network speeds. Is there a way to tell git to do this? I only want to do it for this session, not every time.

Best Answer

Yes, there's always trickle. Install it, then try something like trickle -sd 50 git clone.

-s is for standalone mode, -d is for download limit, in KB/s

Related Question