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

6 views (last 30 days)
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
SteveC
SteveC on 11 May 2018
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 on 10 Sep 2018
Edited: James Marriott on 10 Sep 2018
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)

Dave Walter
Dave Walter on 1 Mar 2018
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 Source Control in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!