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

101 views (last 30 days)
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?
I can connect to origin remote by other git client(GitKraken, "!git" command on MATLAB).

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Jan 2022
The error 'cannot open git-upload-pack' often caused by proxy settings.
If so, you can solve the error by setting java system property like below.
>> java.lang.System.setProperty('https.proxyHost', <Proxy Host Name>)
>> java.lang.System.setProperty('https.proxyPort',' <Proxy Port Number>)

More Answers (0)


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!