Reputation: 149
I have fired git submodule update --init command and it's showing cloning for last 2 hours. I am not sure if something is broken or something went wrong. How can I check what's going behind the scene. All I can see is
user@user:~/Desktop/src$ git submodule update --init
Submodule 'src/' (ssh://git-master.xxx.com:12001/xxx) registered for path 'src/'
Submodule 'src/dpp/xyz' (ssh://[email protected]:12051/some-app.git) registered for path 'src/dpp/xyz'
Cloning into '/home/user/Desktop/src'...
Total 2862 (delta 4), reused 2853 (delta 4)
Cloning into '/home/user/Desktop/src/dpp/xyz'...
Upvotes: 1
Views: 90
Reputation: 1324218
If you have a recent Git, you can export trace2 to display what Git is trying to do:
GIT_TRACE2=1 git submodule update --init
GIT_TRACE2_EVENT=1 submodule update --init
You can also set the GIT_SSH_COMMAND
environment variable to ssh
(including its full path) if you want to see how those SSH calls are fairing.
Upvotes: 1