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

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).

 Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 6 Dez. 2022
Bearbeitet: MathWorks Support Team am 6 Dez. 2022

1 Stimme

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>)

Weitere Antworten (0)

Kategorien

Mehr zu Source Control finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by