Page 1 of 1

Cloning xmos-sdk from git

Posted: Thu Dec 15, 2022 5:04 pm
by AndyCap
Hi Guys,

I'm guessing someone must have done this?

The submodules are not cloning as the links are ssh and I have no access rights.

I am not a git expert and have tried updating the .gitmodules file to use https but all the modules are not defined there so I am a bit stuck.

Any pointers would be really helpful.

Cheers

Andy

Re: Cloning xmos-sdk from git

Posted: Thu Dec 15, 2022 6:04 pm
by AndyCap
Ok, got the https stuff working but it is asking for username and password.

Re: Cloning xmos-sdk from git

Posted: Thu Dec 15, 2022 6:53 pm
by AndyCap
Ok, I worked out what is going wrong here.

First you need a GitHub account.

Then you need to add your default public ssh key into that account (.ssh/id_rsa.pub)

Then you can clone the "public" XMOS repository.

I had it set up with named ssh files (.ssh/id_rsa_<githhubaccount>.pub), this does not work.