MathWorks MATLAB plugin
Plugin version: 1.0
This topic describes how to use the Git Client plugin for MATLAB.
Clone streams
You can clone a Dimensions CM stream in MATLAB.
To clone a stream:
- On the Home ribbon, select New > Project > From Git.
-
In the New Project from Source Control dialog box, provide the following details:
Field Description Source control tool Verify that Git is selected. Repository path Enter the URL of the Dimensions CM stream you want to clone. For details about the URL format and authentication methods, see Git Client command-line format. Sandbox Enter the location on your machine where to clone the stream. -
Click Retrieve.
-
If prompted, enter a user ID and password for the Dimensions CM repository.
Relate requests and push changes
In MATLAB, you can relate requests to commits and push changes to a Dimensions CM stream.
To relate requests and push changes:
- Go to the Apps ribbon and select Dimensions CM Requests Panel.
-
In the Dimensions CM Requests Panel, select one or more requests, right-click, and select Copy Request ID(s).
CTRL+click or SHIFT+click to select multiple requests.
-
Right-click the file or folder to commit to your local Git repository, and select Source Control > View and Commit Changes...
-
In the commit dialog box, in the Comment section, enter a commit message and paste copied request IDs.
The request IDs are added to the commit message in this format:
[request_ID_01,request_ID_02,request_ID_03]
-
Click Commit.
-
Right-click the file or folder you committed, and select Source Control > Push.
View and open reviews
You can display reviews and pull requests for the current Dimensions CM stream, and open them in PulseUno.
When reviews and pull requests are created, they are displayed in the Dimensions CM Reviews Panel automatically.
To open a review or pull request:
- Go to the Apps ribbon and select Dimensions CM Reviews Panel.
-
(Optional) In the Dimensions CM Reviews Panel, filter the contents by review type. By default, all active reviews are displayed.
-
Double-click a review or pull request to open it. The review opens in PulseUno in an internal browser.
For details about reviews and other PulseUno functionality, see PulseUno.
See also: