Skip to content Skip to sidebar Skip to footer

Can You Specify A Timeout To Git Fetch?

I have some git commands scripted in python and occasionally git fetch can hang for hours if there is no connectivity. Is there a way to time it out and report a failure instead?

Solution 1:

No you can't, you need to timeout the command using a wrapper.


Post a Comment for "Can You Specify A Timeout To Git Fetch?"