Servers by jDrones

Problems get the ArduPilot repository (submodule)


(Michael Stahl) #1

Hello, I have problems cloning the ArduPilot repository.
(Using Ubuntu 16.04, git-version 2.7.4)

“git clone …” works fine.
But “git submodule update…” results to “fatal: unable to connect to github.com:…”.

What can I do?
Thank you in advance!!


(Salahuddin Ashraf) #2

Hi,
you have cloned with the wrong command, I guess. Following are the right commands. Notice the first command ends with .git which creates a git directory in which you can run the third command.

git clone git://github.com/ArduPilot/ardupilot.git
cd ardupilot
git submodule update --init --recursive

Hope that helps.

By the way, I think you posted your question in the wrong place. You should have posted it in here for example.


(Jonathan Lopes Florêncio) #3

I guess you’re behind a proxy that blocks git protocol. Try running this command in shell and then trying again:

git config --global url."https://".insteadOf git://


(Michael Stahl) #4

… that’s it! Thanks a lot!