I have a .NET project with one git submodule. I setup an "install" script to execute 'git submodule update --init' and I get an error that I don't quite understand. Here's the log from the last build:
Build started
git clone -q git://github.com/gettyimages/gettyimages-api_dotnet.git C:\projects\gettyimages-api-dotnet
git fetch -q origin +refs/pull/10/merge:
git checkout -qf FETCH_HEAD
Running Install scripts
git submodule update --init
Submodule 'GettyImages.Api.OnlineTests/Scenarios' (https://github.com/gettyimages/gettyimages-api_bdd.git) registered for path 'GettyImages.Api.OnlineTests/Scenarios'
git : Cloning into 'GettyImages.Api.OnlineTests/Scenarios'...
At line:1 char:1
+ git submodule update --init
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Cloning into 'G...s/Scenarios'...:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Submodule path 'GettyImages.Api.OnlineTests/Scenarios': checked out '8dbb9ee320ded5637c932586835b624601bb8850'
Command executed with exception: Cloning into 'GettyImages.Api.OnlineTests/Scenarios'...
Build is here

#1 Posted by Feodor Fitsner Support staff on 05 May, 2015 02:39 AM
use
git submodule -q update --initor switch command mode fromPStoCMD.mark closed this discussion on 05 May, 2015 02:53 AM.
mark re-opened this discussion on 05 May, 2015 02:53 AM
#2 Posted by mark on 05 May, 2015 02:53 AM
Switching to cmd worked. Thanks!
#3 Posted by james.baxley on 13 Oct, 2015 03:27 PM
Mark, I'm running into a similar issue. I have a submodule that is trying to clone down but the install hangs and the build timer runs out. It works great on my machine so I'm not sure what is going on.
#4 Posted by Feodor Fitsner Support staff on 13 Oct, 2015 05:28 PM
Try output the contents of
id_rsafile right afterSet-Contentto see what you got there.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.