MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Review Changes in Source Control


The files under source control that you have changed display the Modified File symbol
in the Current Folder browser. Right-click the file in the Current Folder browser, select
Source Control, and select:


  • Show Revisions to open the File Revisions dialog box and browse the history of a file.
    You can view information about who previously committed the file, when they
    committed it, the log messages, and the list of files in each change set. You can select
    multiple files and view revision history for each file.


With SVN, you can select a revision and browse the lower list of files in the change set.
Right-click files to view changes or save revisions.


  • Compare to Revision to open a dialog box where you can select the revisions you
    want to compare and view a comparison report. You can either:

    • Select a revision and click Compare to Local.

    • Select two revisions and click Compare Selected.




With SVN, you can select a revision and browse the lower list of files in the change set.
Right-click files to view changes or save revisions.


  • Compare to Ancestor to run a comparison with the last checked-out version in the
    sandbox (SVN) or against the local repository (Git). The Comparison Tool displays a
    report.


If you need to update the status of the modified files, see “Update SVN File Status and
Revision” on page 32-28 or “Update Git File Status and Revision” on page 32-38.

See Also


Related Examples



  • “Resolve Source Control Conflicts” on page 32-11

  • “Commit Modified Files to Source Control” on page 32-15

  • “Revert Changes in Source Control” on page 32-16


Review Changes in Source Control
Free download pdf