Cloning a repository with GIT

Hi,
I have followed the procedure here Set Up Git Source Control - MATLAB & Simulink - MathWorks Nordic, but when I try to clone a repository I have the following message:
"Unable to clone repository from https://..."
Caused by:
Unable to locate sh.exe at C:\Program Files\Git\bin\sh.exe or on the system path. "
I can't fix this. Thank you

2 comentarios

Geoff Hayes
Geoff Hayes el 5 de Mayo de 2022
Editada: Geoff Hayes el 5 de Mayo de 2022
@Rocco Di Taranto - where is GIT installed on your workstation? Does the folder C:\Program Files\Git\bin\ make sense? Did you follow the steps from Install Command-Line Git Client? Note that you may need to reboot your machine so that the updated PATH is known.
Rocco Di Taranto
Rocco Di Taranto el 6 de Mayo de 2022
Thanks Geoff, I had a problem with the folder, as I had previously installed without administrator rights. Using administrator rights puts the files in the proper folder. Thanks!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Versión

R2021b

Etiquetas

Preguntada:

el 5 de Mayo de 2022

Comentada:

el 6 de Mayo de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by