Search code examples
gitgit-submodules

git submodule update seems to timeout with no error


I am trying to update git modules, sometimes it works and the modules download, sometimes it seems to timeout and it sits on the same percentage all day! (No error thrown)

Have I missed something in my search for an answer?

git clone https://github.com/biometrics/openbr.git
git submodule init
git submodule update

Solution

  • After using iftop to see if the connection was still live I discovered that the bash shell was failing to show the finish of the download (and it had actually completed) - I hope this can help someone