Unable to clone git repository on Fedora 42

7 次查看(过去 30 天)
Hello everyone,
I downloaded and installed MATLAB 2025a on my Fedora 42 device.
At first, I had this issue which was solved by a way described therein.
My issue now is not being able to clone a git repository the standard way.
When I try it, a pop-up window saying "Starting..." comes out and stays there forever. The program is not frozen, I can interact with the "Starting..." window, but it can't be canceled unless I close the whole MATLAB session.
I tried to clone multiple repositories, both via HTTPS and SSH links, none of them worked.
I have configured my SSH credentials properly, even tried to generate new SSH keys (both of them also set up in my GitHub account).
I have no problem cloning a repository in my VS Code.
When I go into the same folder with MATLAB File Explorer, it doesn't recognise that there is .git file and that the files should be git-controlled.
Do you have any idea where the problem could potentially be?
Thank you in advance!

回答(1 个)

Vidhi Agarwal
Vidhi Agarwal 2025-7-15
Hi @Matej,
Following are some ways you can try that might help you in resolving the issue:
  • Start the MathWorks Service Host manually: Open a terminal and run (Adjust the version/path as needed for your installation):
~/.MathWorks/ServiceHost/-mw_shared_installs/v2025.5.1.1/mci/bin/glnxa64/InstallMathWorksServiceHost
  • After starting the service, restart MATLAB.
  • Try your Git operation again.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Source Control 的更多信息

标签

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by