How to solve an error 'cannot open git-upload-pack' in R2020a?

조회 수: 25 (최근 30일)
When I specify a URL and validate connection to my remote git repository, I got an error 'cannot open git-upload-pack'.
What cause the error? How can I solve it?
P.S.
I can connect to origin remote by other git client(GitKraken, "!git" command on MATLAB).

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 12월 6일
편집: MathWorks Support Team 2022년 12월 6일
The error 'cannot open git-upload-pack' often caused by proxy settings.
If so, you can solve the error by setting proxy information to MATLAB and setting java system property by commands like below.
>> java.lang.System.setProperty('https.proxyHost', <Proxy Host Name>)
>> java.lang.System.setProperty('https.proxyPort',' <Proxy Port Number>)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by