10

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.

Josh Correia
  • 236
  • 2
  • 8
shirish
  • 11,967
  • 27
  • 107
  • 190

1 Answers1

13

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

A.P.
  • 1,416
  • 9
  • 11