メインコンテンツ

MATLAB での Git

ファイルの管理や他のユーザーとの共同作業のために、MATLAB® で Git™ ソース管理を使用する

ファイルおよびブランチの管理や他のユーザーとの共同作業のために、MATLAB で Git ソース管理を使用します。

関数

すべて展開する

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

ツール

ブランチ マネージャーView Git repository history and manage local and remote Git branches and repositories (R2025a 以降)

トピック

注目の例