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

Geoff Hayes
Geoff Hayes 2022년 5월 5일
편집: Geoff Hayes 2022년 5월 5일
@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 2022년 5월 6일
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!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Git in MATLAB에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 5월 5일

댓글:

2022년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by