Hauptinhalt

Git in MATLAB

Einsatz der Git™-Versionsverwaltung in MATLAB® zum Verwalten von Dateien und für die Zusammenarbeit mit anderen

Sie können die Git-Versionsverwaltung in MATLAB zum Verwalten von Dateien und Branches und für die Zusammenarbeit mit anderen nutzen.

Funktionen

alle erweitern

gitcloneClone Git repository (Seit R2023b)
gitrepoCreate Git repository object (Seit R2023b)
gitinitInitialize empty Git repository (Seit R2023b)
matlab.git.GitRepositoryGit repository object (Seit R2023b)
addMark new file for addition to Git repository (Seit R2023b)
rmMark file for deletion from Git repository (Seit R2023b)
status Display status of files in working folder and staging area in Git repository (Seit R2023b)
logDisplay record of commits in Git repository (Seit R2023b)
discardChangesDiscard changes in Git repository (Seit R2024a)
diffCommitsList modified files between two commits (Seit R2025a)
saveFileRevisionSave revision of file to disk (Seit R2025a)
addRemoteAdd new remote to Git repository (Seit R2025a)
removeRemoteRemove remote from Git repository (Seit R2025a)
createBranchCreate new Git branch (Seit R2023b)
switchBranchSwitch Git branch (Seit R2023b)
deleteBranchDelete local Git branch (Seit R2023b)
mergeMerge Git branch, revision, or tag into current branch (Seit R2023b)
fetchDownload new data from remote Git repository (Seit R2023b)
mergeMerge Git branch, revision, or tag into current branch (Seit R2023b)
pullDownload and merge new data from remote Git repository into local repository (Seit R2023b)
commitCommit changes to Git repository (Seit R2023b)
pushPublish local changes to remote Git repository (Seit R2023b)

Tools

Branch ManagerView Git repository history and manage local and remote Git branches and repositories (Seit R2025a)

Themen

Enthaltene Beispiele