Git in MATLAB
Use Git source control in MATLAB to manage files and branches, and collaborate with others.
Functions
Objects
matlab.git.GitRepository | Git repository object (Since R2023b) |
Topics
- Source Control Integration in MATLAB
Use MATLAB built-in integrations with Git and Subversion® (SVN) or write your own source control integration using SDK.
- Set Up Git Source Control
Set up Git source control for use in MATLAB, including registering your binary files to avoid file corruption and setting up SSH Authentication to prevent frequent login prompts.
- Create Local Git Repository
Create a local Git repository to track changes in your files.
- Use Git in MATLAB
Use Git source control in MATLAB to manage your files and collaborate with others.
- Add Git Submodules
Clone an external Git repository as a submodule.
- Branch and Merge with Git
Create, merge, and delete branches, or switch to another branch.
- Set Source Control Preferences
Disable a source control system and set Git preferences in MATLAB Online™.
- Customize External Source Control to Use MATLAB for Diff and Merge
Use the MATLAB Comparison Tool for diff and merge from external source control tools.