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

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 Comments

I'm dealing with this issue as well and it's really driving me nuts. All of my computers can no longer sync with my github repos and all my projects are out of sync now. I would love if someone figured this out.
I haven't been seeing this issue anymore and i'm not sure what I did to solve it. We've since upgraded from 2015b to 2017a. We also use ssh for the repo link as opposed to https.
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.
Has anyone reported this bug(?) to mathworks. I am having the same issue. Again I am using https authentication.

Sign in to comment.

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

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 13 Jan 2016

Edited:

on 10 Sep 2018

Community Treasure Hunt

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

Start Hunting!