Simulink Project Git error with Bitbucket git: git: cannot open git-receive-pack

6 次查看(过去 30 天)
We recently transition to BitBucket for our source control needs. Simulink Project shows a dialog box error when using those git operations on our bitbucket server -
When selecting "Push" in Simulink Project the dialog error displays:
git: cannot open git-receive-pack
When selecting "Fetch" in Simulink Project the dialog error displays:
git: cannot open git-upload-pack
fetch,push, and pull work perfect from the BASH command line.
  5 个评论
SteveC
SteveC 2018-5-11
I'm dealing with this problem as well, and unfortunately I can't use SSH, only the HTTPS link. I'm behind a proxy, but all the proxy settings in Matlab and Git are set.
James Marriott
James Marriott 2018-9-10
编辑:James Marriott 2018-9-10
Has anyone reported this bug(?) to mathworks. I am having the same issue. Again I am using https authentication.

请先登录,再进行评论。

回答(1 个)

Dave Walter
Dave Walter 2018-3-1
I think you can work around this issue by using an ssh link to clone your repositories as opposed to https. See the following link to set up ssh:
It may have been fixed in newer version of matlab (2017a and later)

类别

Help CenterFile Exchange 中查找有关 Project Management 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by