Main Content

Source Control Integration

Use source control in MATLAB®

You can use MATLAB to work with files under source control. You can perform actions such as updating and committing code, merging changes, and viewing revision history directly from the Current Folder browser.

You also can use source control with projects. For more information, see Use Source Control with Projects and Clone Remote Git Repository into New Project.

Fonctions

développer tout

gitcloneClone Git repository (depuis R2023b)
gitrepoCreate Git repository object (depuis R2023b)
gitinitInitialize empty Git repository (depuis R2023b)
gitrepoCreate Git repository object (depuis R2023b)
addMark new file for addition to Git repository (depuis R2023b)
rmMark file for deletion from Git repository (depuis R2023b)
status Display status of files in working folder and staging area in Git repository (depuis R2023b)
logDisplay record of commits in Git repository (depuis R2023b)
gitrepoCreate Git repository object (depuis R2023b)
createBranchCreate new Git branch (depuis R2023b)
switchBranchSwitch Git branch (depuis R2023b)
deleteBranchDelete local Git branch (depuis R2023b)
mergeMerge Git branch, revision, or tag into current branch (depuis R2023b)
gitrepoCreate Git repository object (depuis R2023b)
fetchDownload new data from remote Git repository (depuis R2023b)
mergeMerge Git branch, revision, or tag into current branch (depuis R2023b)
pullDownload and merge new data from remote Git repository into local repository (depuis R2023b)
gitrepoCreate Git repository object (depuis R2023b)
discardChangesDiscard changes in Git repository (depuis R2024a)
gitrepoCreate Git repository object (depuis R2023b)
commitCommit changes to Git repository (depuis R2023b)
pushPublish local changes to remote Git repository (depuis R2023b)

Objets

développer tout

matlab.git.GitRepositoryGit repository object (depuis R2023b)

Rubriques