How to solve an error 'cannot open git-upload-pack' in R2020a?
25 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2022-1-21
编辑: MathWorks Support Team
2022-12-6
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Source Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!