Source Control Preferences not appear in matlab 2021a

13 次查看(过去 30 天)
Hello,
I am trying to install the git for commiting/merging and compare. It is correctly installed because if I do
!git
I get the usage of that command
But I cannot do anything because the command Source control is not where it should be. I checked the preferences of matlab and the Source Control is enabled so I do not undertand why I cannot see the source control in the menu to do the usual git actions.
Thank you very much

回答(1 个)

Nehemiae
Nehemiae 2023-3-9
Hello,
To start a new git project, perform the following steps:
  1. On the Home tab, click New > Project > From Git. The New Project from Source Control dialog box opens.
  2. Under Repository path, specify the repository URL.
  3. Under Sandbox, select the working folder where you want to put the retrieved files for your new project.
  4. Click Retrieve.
Then in MATLAB a new Project tab will open, which has the Source Control section, through which you can perform the required git operations.

类别

Help CenterFile Exchange 中查找有关 Git in MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by