MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Branch and Merge with Git


In this section...
“Create Branch” on page 32-40
“Switch Branch” on page 32-42
“Compare Branches” on page 32-42
“Merge Branches” on page 32-42
“Revert to Head” on page 32-43
“Delete Branches” on page 32-43

Create Branch


(^1) From within your Git repository folder, right-click the white space of the Current
Folder browser and select Source Control > Branches. In the Branches dialog box,
you can view, switch, create, and merge branches.
TipYou can inspect information about each commit node. Select a node in the
Branch Browser diagram to view the author, date, commit message, and changed
files.
The Branch Browser in this figure shows an example branch history.
32 Source Control Interface

Free download pdf